masala-parser
                                
                                
                                
                                    masala-parser copied to clipboard
                            
                            
                            
                        Javascript Generalized Parser Combinators
A stream can be buffered. For this purpose an entropic cache is build. When a parser is accepted a cut mechanism can be applied in order to flush cache and...
Expressiveness can be increased using infix operators. ```js p1 p2 // == p1.then(p2) p1 p2 // == p1.or(p2) p1 >>= p2 // == p1.flatmap(p2) p1 || p2 // == p1.chain(p2)...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
```js let n=1; C.char(',').drop().then(C.string('test').debug('Why is this being executed twice?')).occurrence(n).then(C.char(',')).then(C.string('test')).parse(Streams.ofString(",test,test,test,test")) ``` the string gets executed n+1 times, however it seems wasteful, when n is for example 0, there is no need...
This makes it possible to use directly inside any modern browser using just an import! Without the need of any bundler or compiler Simply define the extensions on the imports...
I was looking through the source code, and apparently there is no way to add a parser dynamically, since the function repeatable is not available :( it'd be nice if...
Bumps [eslint](https://github.com/eslint/eslint) from 9.25.1 to 9.28.0. Release notes Sourced from eslint's releases. v9.28.0 Features b0674be feat: Customization of serialization for languageOptions (#19760) (Nicholas C. Zakas) a95721f feat: Add --pass-on-unpruned-suppressions CLI...
Bumps [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods) from 7.25.9 to 7.27.1. Release notes Sourced from @babel/plugin-transform-private-methods's releases. v7.27.1 (2025-04-30) Thanks @kermanx and @woaitsAryan for your first PRs! :eyeglasses: Spec Compliance babel-parser #17254 Allow using of...