changelog
every version of the language, newest first. the pc download and the playground always run the latest one.
lumen 1.2.0
string, list & math tools
- text tools: trim, replace, includes, starts_with, ends_with, count
- list reshaping: unique, flatten, zip
- math: pow, clamp
- two new examples — Strings and Lists — in the playground
lumen 1.1.0
data tools & saved programs
- continue skips to the next loop iteration — safely scoped, a callback's continue never touches your loop
- json_parse and json_stringify, with errors for invalid JSON, functions and circular data
- sort with an optional comparator, slice for lists and strings
- find, any and every — short-circuiting searches with predicates
- values, entries and has for maps
- a beginner data lesson at /docs/data
- save a program to the cloud and share it with a link
lumen 1.0
the first glow
- variables, functions, closures, if/else as an expression
- pipes: a |> f(b) means f(a, b)
- for and while loops with break; lists, maps, strings, numbers
- 26 built-in functions, always available
- the playground with share links and error line numbers
- the pc download: a real lumen command in any terminal
see what the latest version can do in the docs.