WHAT IT IS
Small, explicit, and content-addressed
A postfix language built around a stack-based virtual machine, built-in operators, and a content-addressed expression model. Designed for transparency, auditability, and deterministic execution in smart contracts and off-chain tooling.
Smart contracts
Metered execution with a clear stack model, content-addressed expressions, and explicit module boundaries keeps contract logic transparent and verifiable.
General applications
Write scripts, services, and tooling where clarity, composability, and content-based addressing matter — without sacrificing ergonomics.
Concurrent actors
Built-in actor model with message passing: spawn lightweight threads, send and receive over named mailboxes, all within the same expression evaluator.
FEATURE SUMMARY
Current version: experimental / early
- Stack-based evaluation with postfix operator dispatch, a
'special form, and aquotestack operator. - Six expression types:
Link,Symbol,Bytes,Int,Float, andString— all content-addressed via Blake3. - Built-in operators covering unified arithmetic (
+,-,*,/,%,sqrt), bitwise logic, shifts/rotates, stack manipulation (dip,drop,dup,swap), expression construction (link,head,tail,is_atom,is_eq,symbol,str,int,float,bytes), control flow (if,fn,lambda), and actor model (spawn,send,receive). - Content-addressed storage model with hash pointers (
head_hash/tail_hash) for DAG-based expression graphs, runtime hash resolution viaref/load, and binary serialization viato_bytes/from_bytes. - Module system with file imports, reference imports, prefix-qualified namespaces, and circular-import protection.
- Metered execution (
Meter/MeterExceededError) with size-based costing per operation. - Deterministic execution mode that disables
spawn,send,receive, andevalfor reproducible evaluation. - Lexical scoping via
Envwith adef_targetindirection for hygienic bindings.
LINKS
Explore the language
Syntax, operators, and the evaluation model.
Language SpecificationInstall the CLI, write your first file, and run it.
Getting StartedWalk through core concepts with runnable examples.
Language TourEBNF grammar, complete operator table, CLI flags, and reserved words.
Language Reference