Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Simple-expression to HTML translator
C# JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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:

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

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

Something went wrong with that request. Please try again.