λlbs Documentation

Scalable language runtime powered by functional principles

🧑‍💻 View Contributors

λlbs Core Concepts

Functional Purity

λlbs embraces immutability and declarative patterns through first-class lambda expressions and type-safe closures.

WebAssembly Integration

Native WebAssembly compilation pipeline with zero-cost abstraction through our custom LLVM plugin.

Getting Started

Install λlbs

{bash}$ curl -fsSL https://λlbs.org/install.sh | sh
{bash}$ λlbs --help

First Program

(λ (x)
(* x x))

Save as square.λbs and run:

λlbs run square.λbs

Advanced Topics

Memory Management

GC-optimized stack allocation with explicit memory pools

Parallelism

Native support for async/await patterns through WebAssembly threads

Type System

Hindley-Milner inspired system with algebraic data types

API Reference

Core Functions

(define (apply f xs)
(cond
[(null? xs) f]
[else (apply (f (car xs)) (cdr xs))]))