Re:Parsing: The Solved Problem That Isn't (2011)
by girvo on Saturday October 25, 2014 @01:27AM
(#8507301)
You're absolutely brilliant. Thanks so much!
Re:Parsing: The Solved Problem That Isn't (2011)
by dkarapetyan on Saturday October 25, 2014 @01:34AM
(#8507317)
No problem. I think more programmers should know about this stuff so happy to help.
If you get through PL101 then picking up the stuff in the dragon book or any other book on parsing and compiling technology will be much easier.
Another resource I like is "Compiler Design: Virtual Machines" (http://smile.amazon.com/Compiler-Design-Machines-Reinhard-Wi...). Still going through that one but it is very readable and if you go through PL101 then you'll have all the tools to implement the virtual machines described in that book. It is much easier to write a compiler to target machine code or some other language like C when you've built a few targets yourself and understand the trade-offs involved.
There's also http://www.greatcodeclub.com/. I think one of the projects is a simple virtual machine and another one is a compiler. Well worth the admission price if you're a beginner and want some help getting started.
Hanselman's rule about finiteness of keystrokes applies and I recently wrote some notes about budding PL enthusiasts: http://www.scriptcrafty.com/tips-for-the-budding-pl-enthusia....