Lambda Script 0.2
Released: March 2026 | GitHub
Lambda Script 0.2 brings substantial advances across the language, runtime, layout engine, and cross-platform support since the 0.1 release (January 2026).
Lambda Language Features
- Removed the
listtype — the data model is simplified to arrays, maps, and elements.listexpressions are gone; use arrays. - Expressive pipe operator (|) for fluent set-oriented data transformation pipelines with inline mapping and filtering.
- Powerful for-expressions with where, order by, limit, offset clauses for SQL-like data querying.
- Pattern-based Matching & Query - Match expressions support value, range, type, and constrained patterns. And ? query operator searches data trees by type or structure, similar to jQuery.
- New standard library functions:
sort(),reduce(),parse(),ord(),chr(),math.random(seed),mathmodule. - Structural deep equality for arrays, maps, and elements.
pnprocedure parameters are now mutable.
JIT Compiler & Transpiler
- MIR Direct is now the default JIT path — the previous C2MIR path is still available via
--c2mir. Scripts run faster with no intermediate C file generation. - JS → MIR transpiler — the JavaScript transpiler now emits MIR directly, with tail call optimisation (TCO).
- Major transpiler restructuring — cleaner separation of IR generation stages, tighter codegen for map access, for-loops, and closures.
Radiant Layout Engine
- CSS Grid — substantially improved: grid template, auto placement, alignment, spanning, and many correctness fixes.
- CSS Flexbox — all flex baseline tests now pass.
- CSS Lists — enhanced list rendering with a dedicated test suite.
- Table layout improvements including intrinsic sizing, row/cell alignment.
- Viewport scrolling — scrollable viewport with scrollbar support.
@font-facesupport and faster font loading.
LaTeX & Math Rendering
- New Tree-sitter based LaTeX parser replacing the old pipeline.
- LaTeX → HTML pipeline with an enhanced formatter; no more temporary file generation.
- Substantially improved math symbol, fraction, and font rendering.
JavaScript & DOM Support
- Expanded JS and DOM API coverage.
- JS execution speed improvements across multiple benchmark cases.
Data Formats & Markdown
- 100% CommonMark compliance achieved.
- Enhanced Markdown rendering: improved font support, emoji, nested lists, and correct double-bullet rendering.
- Improved Wiki parser tests.
Charts Package
- New
chartpackage with candle, bar, line chart and many more. - Lambda-generated SVG charts can now be loaded and rendered inside the viewer.
Performance & Benchmarking
- Added benchmark test suites, and benchmarked against Node.js, Python and QuickJS.
- GC tuning: reduced nursery pressure, faster map allocation.
- Parser table size reduced by tuning the Tree-sitter grammar.
- Memory profiling added.
Lambda Script is still evolving — syntax and semantics may change between releases.