Skip to content

Numscript is a Domain-Specific Language (DSL) designed to help you model complex financial transactions, replacing complex and error-prone custom code with easy-to-read, declarative scripts.

License

Notifications You must be signed in to change notification settings

formancehq/numscript

Repository files navigation

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)

About

Numscript is a Domain-Specific Language (DSL) designed to help you model complex financial transactions, replacing complex and error-prone custom code with easy-to-read, declarative scripts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published