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.
- Node >= 18.
A hatred in your heart for JavaScript.
npm install
npm run start
-
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.