News for hackers. Stuff that matters.
Re:The School of Wirth by eatonphil on Sunday March 14, 2021 @09:04PM (#26461393)
If you're interested in more Wirth I recommend his book, Compiler Construction. It's a great small piece on building a language from scratch.
Re:The School of Wirth by lboasso on Sunday March 14, 2021 @11:11PM (#26462222)
When I read this book I had an hard time running and compiling the source code included. If you want to read the book and try out the example compiler (oberon0), you can follow the instructions here: https://github.com/lboasso/oberon0. You just need a JVM >= 8 and the oberonc compiler: https://github.com/lboasso/oberonc
Re:The School of Wirth by setpatchaddress on Sunday March 14, 2021 @10:37PM (#26462019)
Second this. Much easier to follow than the dragon book. And you’ll end up with a better implementation if you follow Wirth vs the YACC dudes.
Re:The School of Wirth by Rochus on Monday March 15, 2021 @10:08AM (#26466238)
Primarily because it omits many essential things and focuses on only one (now outdated) architecture.