Skip to content

queercat/bantam-pratt-parser-typescript

Repository files navigation

Pratt parser

This is a Pratt parser for the language Bantam written in Typescript.

You will find everything in the src/ directory and specifically all of the tests in src/index.ts.

Requirements

  • Node >= 18.
  • A hatred in your heart for JavaScript.

Setup

npm install

Running tests

npm run start

Acknowledgements

  • Huge thank you to Bob Nystrom for the excellent article and easy to understand code.

  • Huge thank you to all the horse friends willing to sit with me while I banged my head against this.

About

Pratt parser for the toy language Bantam.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published