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
If you have the golang toolchain installed locally, you can run go install ./internal/numscript/numscript.go
to build the cli from source, which you'll be able to run by executing the numscript
command
Otherwise, you can download it from this repo's releases