dgoffredo | xhp | |
---|---|---|
3 | 2 | |
- | 44 | |
- | - | |
- | 10.0 | |
- | almost 8 years ago | |
Yacc | ||
- | GNU General Public License v3.0 or later |
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.
dgoffredo
-
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
-
Show HN: Md2blog – A zero-config static site generator for dev blogs
Always interesting to see what someone else came up with for their static site generator. If I had known about yours, I might have used it instead of writing mine: https://github.com/dgoffredo/dgoffredo.github.io
-
Chicken Scheme
I even do a minimal version of SXML in python, using python's lists, because it's much better than the DOM/builder way.
https://github.com/dgoffredo/dgoffredo.github.io/blob/372300...
You could do the exact same thing in javascript.
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...
What are some alternatives?
markblog - The way to blog with markdown.
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.
spinneret - Common Lisp HTML5 generator
whichever-compiles
FaxJs - Fax Javascript Ui Framework
llama - lisp-like application markup