3 ms·
Parser combinators are great ie. in TypeScript [0]. Combinators in general are concise and practical ie. runtime type assertions [1] or generators [2] etc. We
by mirekrusin 5y ago
Parser combinators are great ie. in TypeScript [0].
Combinators in general are concise and practical ie. runtime type assertions [1] or generators [2] etc.
We use them in several places in production.
[0] https://github.com/preludejs/parser https://github.com/preludejs/parser
[1] https://github.com/appliedblockchain/assert-combinators https://github.com/appliedblockchain/assert-combinators
[2] https://github.com/preludejs/generator/tree/master/src https://github.com/preludejs/generator/tree/master/src