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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0d7e4f3 · Mar 20, 2025
Mar 10, 2025
Mar 20, 2025
Sep 18, 2024
Oct 3, 2024
Feb 19, 2025
Sep 19, 2024
Mar 5, 2025
Mar 20, 2025
Mar 7, 2025
Sep 18, 2024
Mar 5, 2025
Mar 20, 2025
Jul 25, 2024
Mar 7, 2025
Mar 20, 2025

Repository files navigation

Numscript CLI

GitHub Release Go Reference Go codecov

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

Build locally

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

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