{"by":"superzamp","descendants":47,"id":41593216,"kids":[41594311,41594224,41599796,41593946,41593639,41598297,41599211,41599379,41599362,41596494,41595699,41595127,41597446,41594598],"score":202,"text":"Numscript is a simple, declarative language that helps you model financial transactions. You can do quite a few things with it, such as modeling:<p>* Payments involving vouchers and a user&#x27;s prepaid balance\n* Complex funds destination scenario where the customer gets cash back\n* Configurable user credit balance spending transactions<p>The main idea is to take the pain out of describing of a system dealing with money movements should behave in traditional languages such as JS&#x2F;TS&#x2F;Go&#x2F;Ruby etc, landing an expressive way to model these movements of value.<p>It is voluntarily broad in applicability—our customers use it today for use-cases ranging from marketplaces funds orchestration to home-grown loan management systems.<p>Once those transactions are modeled, they are to be picked up and committed to a system-of-record, ledgering system or executed on a set of payments and banking APIs.<p>It was initially a DSL we bundled into our Core Ledger product at Formance (YCS21) but we&#x27;re giving it more autonomy now and started to make it standalone, with the idea that anyone could eventually bolt Numscript on top of their ledgering system. We&#x27;re also exploring to make it natively compatible with other backends.<p>As part of this un-bundling, we&#x27;ve just shipping a playground which lets you fiddle with it without installing anything at <a href=\"https:&#x2F;&#x2F;playground.numscript.org&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;playground.numscript.org&#x2F;</a> (it works best on desktop).<p>Happy to chime in on any questions!","time":1726761559,"title":"Show HN: Numscript, a declarative language to model financial transactions","type":"story","url":"https://playground.numscript.org/"}