Starting implementing the compiler(part 1).
What’s the recommended way to implement it?
Follow the part 1 of the book and write those parsers and implementations out?
Though i did peek into provided implementation of the compiler.ts
I feel like copying it would be a poor way to really learn the details…
Some notes:
- building Docker-ized environment since I rather not install all the tooling on the host machine and i’m on OSX.
- 5.3 Interface: missing argument name:
src: Source
in
interface Parser<T> {
parse(Source): ParseResult<T> | null;
}