A Simple-expression to HTML translator
C# JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Compiler
Opera-Extension
REPL
LICENSE
README.md

README.md

Simplex Markup Language

A Simple-expression to HTML translator.

Example:

Input:

(html(head(title "Title")(style "p{margin-left:20px;}"))(body(script :src='script.js')(p "This is a paragraph")))

Output:

\
\
\
Title
\
\
p{margin-left:20px;}
\
\
\
\<script src='script.js'\> \
\
This is a paragraph
\
\
\

Wishlist:

*The ability to add attributes to tags

*Extensions in Chrome and Firefox that have s-exp standalone. No HTML required. I don't even know if that's possible.

*Plugins for popular text editors to allow s-exp to HTML, a la emmet.io