[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: HTML-Embedded Lua?
- From: Matthias Beyer <mail@...>
- Date: Fri, 18 Oct 2013 16:24:02 +0200
Hi,
I wanted to title this mail "eLua", but this terminus is taken,...
What I'm thinking about: You maybe heared of ERB, which is Ruby
embedded in HTML (similar to PHP).
Example:
<html>
<ul>
<% (1..100).each do |x| %>
<li>
<%= x.to_str %>
</li>
<% end %>
</ul>
</html>
This is really handy for doing templating for websites. Is there
something compareable for lua?
If there isn't - lets write one! I want to learn lua and I think this
is a good approach to do so!
--
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer
Proudly sent with mutt.
Happily signed with gnupg.
Attachment:
pgpezm57Qc8RP.pgp
Description: PGP signature