Typescript isn't set up to compile. Run scripts using ts-node
.
npm run dev:grammar-types
ts-node ./src/main.ts
npm run test
# Automatically builds the grammar diagram and types when parser.ts changes
npm run dev
# Generate the file
npm run dev:grammar-diagram
# Serve the directory statically so you can open the HTML output file
npm run dev:serve