Skip to content

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages