arcsecond icon indicating copy to clipboard operation
arcsecond copied to clipboard

✨Zero Dependency Parser Combinator Library for JS Based on Haskell's Parsec

Results 26 arcsecond issues
Sort by recently updated
recently updated
newest added

Hi I am trying to use arcsecond for my toy language and am struggling a bit due to the lack of actual language examples to refer to. I was hoping...

# Packrat Parsing Implementation As discussed in #74, this pull request implements packrat parsing using a internally specified set of memoization functions in `./src/cache.ts`. - [1. Checklist](#1-checklist) - [2. Discussion](#2-discussion)...

You may want to start a cookbook, similar to [Ramda's](https://github.com/ramda/ramda/wiki/Cookbook) that shows ways of solving common problems. While I have not worked with **arcsecond** for very long, I've already encountered...

![image](https://user-images.githubusercontent.com/7668446/130350427-fd135cfe-0477-47c6-9df2-be0fa4cb4470.png) The type system allows `import A from "arcsecond"`, but this doesn't actually work, as the value of `A` is undefined in this context. My preferred remediation would be to...

The recommended code in the Cookbook for parsing arithmetic expressions introduces an exponential-complexity parse bomb, which I have found does actually become extremely relevant when using Arcsecond for parsing realistic...

Hi! First, thank you for bringing us the awesome library. I find a typo in the readme. The type description of "composeParsers" should not be "pipeParsers". here: https://github.com/francisrstokes/arcsecond#composeparsers

Readme, as it is now, is not really convenient to quickly grasp the available methods and functions and quickly access the needed ones. I understand it is desirable to have...

Adding GraphQL schema to examples would be helpful

When parsing a complex language it becomes increasingly hard to keep track how everything fits together in the implementation code. It becomes increasingly helpful to look at the grammar of...

When using Typescript (v4.8.2), the example from the second tutorial doesn't typecheck. ``` const { letters, coroutine, char } = require('arcsecond'); const fullParser = coroutine(function* () { const firstWord =...