News for hackers. Stuff that matters.
Re:Why I wrote a book about interpreters by zellyn on Thursday December 01, 2016 @01:30PM (#13081989)
I highly recommend the Coursera compilers class: you don't have to work though it in synch with a class; just sign up and work at your own pace. If you have to watch the same video two or three times, you can. None of this stuff actually turns out to be that complicated: it just takes a little while to get the lingo and concepts.

I implemented the entire parser, typechecker, and compiler in Go here: https://github.com/zellyn/gocool

I then went back and hand-wrote a recursive descent parser, just for fun: Cool is such a simple language that it really wasn't difficult.

Re:Why I wrote a book about interpreters by kqr2 on Thursday December 01, 2016 @04:19PM (#13083603)
Stanford has its own MOOC site which seems to offer an equivalent course:

https://lagunita.stanford.edu/courses/Engineering/Compilers/...

Re:Why I wrote a book about interpreters by riffraff on Thursday December 01, 2016 @02:55PM (#13082872)
FWIW, I think the coursera class is now gone, but the course should have matched this http://web.stanford.edu/class/cs143/
Re:Why I wrote a book about interpreters by zellyn on Thursday December 01, 2016 @03:24PM (#13083169)
That's a pity: the lecture videos were worthwhile, and I got all the unit tests by dissecting the auto-checking scripts that the class supplied :-/
Re:Why I wrote a book about interpreters by riffraff on Thursday December 01, 2016 @03:30PM (#13083214)
it's possible they are available in the internet archive backup, but I don't have idea how to inspect those without downloading tens of gigabytes of stuff.

https://archive.org/details/archiveteam_coursera

Re:Why I wrote a book about interpreters by sn9 on Thursday December 01, 2016 @04:23PM (#13083640)
It seems to be available from Stanford's Lagunita site: https://lagunita.stanford.edu/courses/Engineering/Compilers/...
Re:Why I wrote a book about interpreters by zellyn on Thursday December 01, 2016 @04:39PM (#13083783)
Nice! Same lecturer: Alex Aiken