Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/formancehq/numscript
https://github.com/formancehq/numscript
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/formancehq/numscript
- Owner: formancehq
- Created: 2024-07-23T14:20:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T13:43:09.000Z (about 2 months ago)
- Last Synced: 2024-09-18T04:26:49.748Z (about 2 months ago)
- Language: Go
- Size: 445 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Numscript CLI
[![Go](https://github.com/formancehq/numscript/actions/workflows/checks.yml/badge.svg)](https://github.com/formancehq/numscript/actions/workflows/checks.yml) [![codecov](https://codecov.io/gh/formancehq/numscript/graph/badge.svg?token=njjqGhFQ2p)](https://codecov.io/gh/formancehq/numscript)
Numscript is the DSL used to express financial transaction within the [Formance](https://www.formance.com/) 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 testsIf 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)