Numscript CLI
June 11, 2026 ยท View on GitHub
Numscript is the DSL used to express financial transaction within the Formance ledger. You can try it in its online playground
The CLI in this repo allows you to play with numscript locally, check if there are parsing or logic errors in your numscript files, and run the numscript language server
The language server features include:
- Diagnostics
- Hover on values
- Detect document symbols
- Go to definition
Installation
You can install the numscript cli with one of the following ways:
Using curl
curl -sSf https://raw.githubusercontent.com/formancehq/numscript/main/install.sh | bash
Using golang toolchain
go install github.com/formancehq/numscript/cmd/numscript@latest
Telemetry
Release builds of the numscript CLI send anonymous crash reports to Sentry when the program panics. A crash report contains the panic message, a stack trace, and the CLI version โ nothing else. No reports are sent during normal operation, and development builds (built from source with go install or go build, where the version is develop) never send anything.
To disable crash reporting entirely, set the NUMSCRIPT_NO_TELEMETRY environment variable to any non-empty value:
export NUMSCRIPT_NO_TELEMETRY=1