A toy interpreter implemented with TypeScript's type system (see type-toc
folder).
As a comparison, one was also implemented directly in TypeScript(see
ts-toc
folder).
👉 Click here to go to ts-playground and try it out!
see Toc Grammar
- Code: MIT
- Note: CC BY-NC-SA 4.0