arcsquared
v0.1.0
Published
Rewriting Arcthird in Typescript, which is the rewriting of Arcsecond in Coffeescript.
Downloads
10
Readme
Arcsquared
A statically typed version of Arcthird with more coherent, organized and helpful code.
Arcsecond is a simple parsing library inspired by Haskell's Parsec, made from scratch by francisrstrokes who runs the LLJS YouTube channel.
Arcsquared makes it more abstract by introducing a new class called PStream
, from which your parsers are gonna parse. This allows for example to make a parser of tokens, represented as JS objects.
The code will be self-documenting, and I will be adding pieces of documentation while rewriting this library along the way.
I also intend this new version to have proper error handling.
If you'd like to contribute, don't hesitate to create pull requests!