4 ms·
These are my favorite resources: Compiler Construction: http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf Th
by eterps 15y ago
These are my favorite resources:
Compiler Construction: http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
The Elements of Computing Systems: http://amzn.to/GQycqj http://amzn.to/GQycqj
MetaCompilers: http://www.bayfronttechnologies.com/mc_tutorial.html http://www.bayfronttechnologies.com/mc_tutorial.html
How to Create Your Own Freaking Awesome Programming Language: http://createyourproglang.com/ http://createyourproglang.com/
Bootstrapping a simple compiler from nothing: http://www.rano.org/bcompiler.html http://www.rano.org/bcompiler.html
- fogus 15y agoCorrect me if I'm wrong, but wasn't "How to Create Your Own Freaking Awesome Programming Language" the motivation for CoffeeScript. That alone should be enough motivation for sending your money that way.
- rbxbx 15y agoYou're correct. That's why the first version was written in Ruby :)
- irahul 15y agoTo add to the list, Peter Norwig's lisp interpreter is a short, concise introduction to interpreters. http://norvig.com/lispy.html http://norvig.com/lispy.html http://norvig.com/lispy2.html http://norvig.com/lispy2.html
- zerd 15y agoAnother one I recommend, because it starts with codegen and works its way back: Writing a compiler in Ruby, bottom up: http://www.hokstad.com/compiler http://www.hokstad.com/compiler
- raganwald 15y agoMy (pricey) favourite is Lisp In Small Pieces: http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/dp/0521545668?tag=duckduckgo-d-20 http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/d... Note that Peter Norvig gives it a five-star review. (The affiliate link benefits DuckDuckGo.)