Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

lain

< >

lain is a programming language created in 2017.

#1911on PLDB 7Years Old


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 Token Example
Comments ✓
; A comment
Line Comments ✓ ;
; A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 630 · Donate · feedback@pldb.io