Lest is unique system for making web sites that is simple to use thanks to its low entropy foundation.
Lest uses rich, efficient and natural REN syntax to describe both document structure (template engine) and look and layout (stylesheet language). Using same syntax results in faster development and deployment, less space for error and overall increase of hapiness.
Download source from above or do it from command line with
git clone https://github.com/rebolek/lest.git
If you haven't got Rebol interpreter already, download it from here (half a megabyte, no installation) or compile it yourself from sources.
do %lest.reb
to run Lest.lest [div "Hello world"]
to test it."<div>Hello world</div>"
, congratulations! Everything works and you're ready to take over the world.contact-button: [div .contact-button [button "Contact"]]
user-info: name string! [
div .info [
h3 ["Name: " name]
contact-button
]
]
set users ["Bobík" "Myšpulín" "Fifinka" "Piňda"]
for user in users [
user-info user
]
<div class="info">
<h3>Name: Bobík</h3>
<div class="contact-button">
<button>Contact</button>
</div>
</div>
<div class="info">
<h3>Name: Myšpulín</h3>
<div class="contact-button">
<button>Contact</button>
</div>
</div>
<div class="info">
<h3>Name: Fifinka</h3>
<div class="contact-button">
<button>Contact</button>
</div>
</div>
<div class="info">
<h3>Name: Piňda</h3>
<div class="contact-button">
<button>Contact</button>
</div>
</div>
If like Lest and you want it to survive in the harsh jungle of templating engines, frameworks and server-side solutions, please consider your support.