larzscript
A money-native programming language.
Every language can call a payments API; Larzscript makes money part of the grammar. $3.50 is a value, wallet is a type, 'pay ... from ... to ...' moves funds and records a ledger, require is a runtime-enforced guardrail, and functions can be gas-metered so billable or untrusted code can't run past its budget. A real, standalone language - lexer, parser, tree-walking interpreter, and a native-C compiler backend - one C file, zero dependencies, no Python or runtime needed to run it.
What you get
- Money/wallets/pay/subscribe as keywords
- Gas-metered functions (fail closed)
- Two backends: interpret, or compile to native C (--emit-c, ~130x faster)
- Lexer + parser + interpreter + compiler, readable
- Reads like English: is/unless/for...from...to/say
Why it's in the Larz Stack
larzscript is a single standalone C file with zero dependencies โ no Python, no runtime, no package manager needed to run it. It compiles with one cc command, or install a prebuilt binary in one line; it ships with real multi-platform CI (Linux x86_64/aarch64, Windows, and a WebAssembly browser build) and composes with the rest of the Larz Stack and the Larz framework.