lain is an actively used programming language created in 2017. Lain is both an inline scripting library that allows for complex templating of the wiki pages, and a programming language that exists at the core of the engine to load and parse content for each article.

3Years Old ?Users ?Jobs
  • the lain website
  • lain first appeared in 2017
  • Have a question about lain not answered here? Email me and let me know how I can help.

Example code from the web:

(add (sub 5 3) 2)                         ; Basic Math
(λ (a b c) (concat a b c))                ; Lambda
(def obj {:foo "bar"})                    ; Creating object
(join obj:foo)                            ; Reading object parameters
(def _sidebar (dom:create "sidebar"))     ; Creating DOM elements

Last updated August 9th, 2020

Edit lain on GitHub