Skip to content

Commit 047150a

Browse files
Merge pull request #122 from formancehq/numscript-experimental-updates
Added content for new numscript interpreter
2 parents f6befa4 + 9bc9f8d commit 047150a

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

docs/numscript/embedding.mdx

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
2-
title: Embedding
2+
title: Selecting an interpreter
33
---
44

5-
Historically, Numscript was being built in a tightly knit way to our Ledger service, an extensible system-of-record and querying layer for financial transactions.
5+
Since Ledger v2.2, two versions of the Numscript interpreter are available: the original, built directly into our Ledger service, and a new portable and embeddable interpreter that can run independently or enhance other ledgering systems.
66

7-
The new revision of Numscript is this time designed with portability and embeddability in mind. While Numscript is natively embedded in our Ledger service, you can also now run Numscript separately or bolt it on top of your existing ledgering system as a way to improve its programmability.
7+
The original interpreter is enabled by default but is no longer evolving, while the new version will receive ongoing updates and must be manually enabled.
88

9-
The standalone Numscript codebase can be found [here](https://github.com/formancehq/numscript).
9+
To enable the new interpreter, enable the `ledger.experimental-features` and `ledger.experimental-numscript` [settings](../operator/Configuration%20reference/Settings).
10+
11+
Note that the [Numscript playground](https://playground.numscript.org/?template=simple-send) uses the new interpreter, so results there may differ from those in production.

sidebars.ts

+1
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ const sidebars = {
210210
{
211211
type: 'doc',
212212
id: 'numscript/embedding',
213+
label: "Selecting an interpreter",
213214
},
214215
{
215216
type: 'category',
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
2-
title: Embedding
2+
title: Selecting an interpreter
33
---
44

5-
Historically, Numscript was being built in a tightly knit way to our Ledger service, an extensible system-of-record and querying layer for financial transactions.
5+
Since Ledger v2.2, two versions of the Numscript interpreter are available: the original, built directly into our Ledger service, and a new portable and embeddable interpreter that can run independently or enhance other ledgering systems.
66

7-
The new revision of Numscript is this time designed with portability and embeddability in mind. While Numscript is natively embedded in our Ledger service, you can also now run Numscript separately or bolt it on top of your existing ledgering system as a way to improve its programmability.
7+
The original interpreter is enabled by default but is no longer evolving, while the new version will receive ongoing updates and must be manually enabled.
88

9-
The standalone Numscript codebase can be found [here](https://github.com/formancehq/numscript).
9+
To enable the new interpreter, enable the `ledger.experimental-features` and `ledger.experimental-numscript` [settings](../operator/Configuration%20reference/Settings).
10+
11+
Note that the [Numscript playground](https://playground.numscript.org/?template=simple-send) uses the new interpreter, so results there may differ from those in production.

0 commit comments

Comments
 (0)