Writing an Interpreter in JavaScript
https://github.com/LixvYang/Writing-a-Interpreter-in-Go-Translation
run
$ tsc
to start compilation.
How to debug TypeScript?
https://juejin.cn/post/6902333925562499086
supplementary reading material
https://people.montefiore.uliege.be/geurts/Cours/compil/2011/03-syntaxanalysis-3.pdf https://www.javatpoint.com/lr-parser