Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

lain

< >

lain is a programming language created in 2017.

#1992on PLDB 7Years Old
Homepage

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.


Example 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

Language features

Feature Supported Example Token
Comments ; A comment
Line Comments ; A comment ;
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0