Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 975 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 975 Bytes

Numscript CLI

Go codecov

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

Develop locally

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)