Numscript is the DSL used to express financial transaction within the Formance ledger
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
You can update snaphshots with the
UPDATE_SNAPS=true
variable while running the tests
If you need to update the grammar, you can generate the parser using the generate-parser.sh
script (you'll need to install the antlr4 command first)