[1] Introduction to Compiler Design:
Want to write a compiler? Just read these two papers (2008)
171–173 of 173 posts
Re: Want to write a compiler? Just read these two papers (2008)
#172I remember that I ignored most of the stuff when I did my compiler from the book I used and did a recursive descent parser which the book really, if I remember correctly, did not cover except maybe for a brief mention. The instructor was also pushing everyone to use lex/yacc and I thought that was not the right way to go if you wanted to actually understand things. Interesting most of the folks that used lex/yacc had trouble completing the assignment whereas I thought it was straightforward.
Re: Want to write a compiler? Just read these two papers (2008)
#173Earlier quoted context omitted.
It’s academic and comprehensive, that’s the issue. It’s not about writing a production grade compiler, though, in my humble opinion. There are more things to learn for that, unfortunately… is just a pretty big topic with lots of stuff to learn.
the dragon book is all i have on the topic. it was a big investment for me. it taught me to think very differently but i am sure i am still not ready to write a compiler :D