4 ms·
I agree, Niklaus Wirth's compiler book is a good introduction to the topic. To showcase Wirth's approach, I wrote a self hosted Oberon compiler for the JVM: ht
by lboasso 9y ago
I agree, Niklaus Wirth's compiler book is a good introduction to the topic.
To showcase Wirth's approach, I wrote a self hosted Oberon compiler for the JVM: https://github.com/lboasso/oberonc https://github.com/lboasso/oberonc
The compiler can also be used to compile and run the source code of Oberon0 provided in the book, all you need is a JVM installed.
- andrewbinstock 9y agoThat is very impressive. Congratulations!
- lboasso 9y agoThanks, my hope is that the Oberon language will not be forgotten. The Oberon0 language, described in the compiler book, is just a toy to illustrate basic compiler techniques. The full Oberon language is a simple but powerful language, that inspired Go.