xhp | llama | |
---|---|---|
2 | 1 | |
44 | 1 | |
- | - | |
10.0 | 10.0 | |
over 7 years ago | about 1 year ago | |
Yacc | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xhp
- Maud: A Rust macro for writing HTML
-
Using ELisp as an HTML templating engine
It’s cool that you can express this sort of structure in Lisp without any change to the language. This contrasts to extensions to other languages that allow an XML-like syntax. For example JSX for JavaScript [1], XHP for PHP [2], and XML Literals for VB.NET[3].
[1]: https://reactjs.org/docs/introducing-jsx.html
[2]: https://github.com/phplang/xhp
[3]: https://docs.microsoft.com/dotnet/visual-basic/programming-g...
llama
-
Using ELisp as an HTML templating engine
Yes, using anylisp as a anything templating engine. I love this stuff.
It's not as ideal, but you can even get away with this in Python using comprehensions and functions. Any language with nested data structure literals will do. Really, any expression language.
Here's a Python version: https://github.com/dgoffredo/dgoffredo.github.io/blob/master...
and a Javascript version: https://github.com/dgoffredo/llama/blob/master/llama/xml.js
...and as others have said, Scheme has "sxml," which I use here: https://github.com/dgoffredo/xsd-gc
What are some alternatives?
htmlgo - Type safe and modularize way to generate html on server side.
with-c-syntax - C language syntax in Common Lisp
xhp-php5-extension - A PHP5 extension that augments the syntax of the language such that XML document fragments become valid PHP expressions.
xsd-gc - Remove unused types from a schema.
spinneret - Common Lisp HTML5 generator
bruno - A jekyll-esque static site generator with the power of Clojure.
whichever-compiles
ano.ee - My personal site.
FaxJs - Fax Javascript Ui Framework