Using ELisp as an HTML templating engine

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • xhp

    XHP extension for PHP

  • 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...

  • bruno

    Discontinued A jekyll-esque static site generator with the power of Clojure. (by askonomm)

  • This is neat. I actually built a static site generator[0] that uses Clojure for the templating language, and that enables me to do some things like build my own RSS feed [1] or a custom archive front page [2]. Pretty happy with this over Handlebars or the like to be honest.

    [0]: https://github.com/askonomm/bruno (documentation pending, check out example site at https://github.com/askonomm/bien.ee)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ano.ee

    Discontinued My personal site.

  • This is neat. I actually built a static site generator[0] that uses Clojure for the templating language, and that enables me to do some things like build my own RSS feed [1] or a custom archive front page [2]. Pretty happy with this over Handlebars or the like to be honest.

    [0]: https://github.com/askonomm/bruno (documentation pending, check out example site at https://github.com/askonomm/bien.ee)

  • dgoffredo

  • 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

  • llama

    lisp-like application markup (by dgoffredo)

  • 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

  • xsd-gc

    Remove unused types from a schema.

  • 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

  • spinneret

    Common Lisp HTML5 generator

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • with-c-syntax

    C language syntax in Common Lisp

  • Lisp has served as an inspiration to so many programming language designs, Javascript included, that saying a language feature isn't really unique to Lisp is a bit like saying that The Lord of the Rings is just a bunch of fantasy clichés. It's true in some sense, but it also conveys a deeply flawed understanding.

    Here[1] is a fun example of what's possible that would be difficult to do in many other languages without essentially just giving up and dumping the C style code in a string and calling some sort of eval on it and that is very much not the same thing.

    [1] https://github.com/y2q-actionman/with-c-syntax/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts