Speykious / arcsquared

Rewrite of Arcthird in Typescript, which is a rewrite of Arcsecond in Coffeescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arcsquared-logo 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!

About

Rewrite of Arcthird in Typescript, which is a rewrite of Arcsecond in Coffeescript.

License:MIT License


Languages

Language:TypeScript 100.0%