diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..932287fd --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,6 @@ +### 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) diff --git a/README.md b/README.md index 3ac599e5..eef67836 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,12 @@ # 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) +[![GitHub Release](https://img.shields.io/github/v/release/formancehq/numscript)](https://github.com/formancehq/numscript/releases) +[![Go Reference](https://pkg.go.dev/badge/github.com/formancehq/numscript.svg)](https://pkg.go.dev/github.com/formancehq/numscript) +[![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 +Numscript is the DSL used to express financial transaction within the [Formance](https://www.formance.com/) ledger. +You can try it in its [online playground](https://playground.numscript.org) 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 @@ -12,10 +16,3 @@ The language server features include: - 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)