How do I write a .Net compiler
August 18, 2007 10:22 AM
Subscribe
Can anyone recommend a book (or online equivalent) that teaches the theory and practice of writing compilers, specifically those targeting the Microsoft CLR (ie .Net)?
I'm trying to build a compiler for an evil custom language used at my workplace (hideous details available on request.) Lexing and parsing isn't a problem, but I don't really know where to go from there. .Net seems to have a whole suite of libraries to help with this stuff but, again, I don't really know where to start.
Any reading suggestions would be welcome. (I located the source for the
lolcode.net compiler, which I suspect is about as simple as it'll get, and which convinced me I should really try and learn the theory rather than just hack my way blindly through it.)
posted by Luddite to computers & internet (18 comments total)
3 users marked this as a favorite
posted by david1230 at 10:37 AM on August 18, 2007