lest

low entropy system for templating

introduction

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.

installation

  1. Fork me on GitHub

    Download source from above or do it from command line with

    git clone https://github.com/rebolek/lest.git
  2. If you haven't got Rebol interpreter already, download it from here (half a megabyte, no installation) or compile it yourself from sources.

    • Start Rebol in Lest directory.
    • In the Rebol console, type do %lest.reb to run Lest.
    • Type lest [div "Hello world"] to test it.
    • If you see "<div>Hello world</div>", congratulations! Everything works and you're ready to take over the world.

news

7-Apr-2015Cleanup and proper dist version
Lest needed better structure both in the repository and in the source. Lot of things should work better now and the infamous prestyle has no value problem is gone. Finally!
31-Mar-2015Try Lest online!
The promised surprise is here! Now you don't need to download Lest to try it. Just go to Try Lest site and check it online! Also there are some bugfixes and syntax improvements.
25-Mar-2015New docs
New docs are here! Right now improved look only, but there is command reference in works and lot of examples. Also one surprise. Stay tuned!

example

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.