Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 12 Aug 2008
Offline Last Active Feb 06 2013 04:12 PM

#5012236 Trouble interpreting a custom language.

Posted by on 18 December 2012 - 04:55 PM

Quick thread hijack here. Any recommendations on free online resources on the subject of writing compilers and interpreters while we're at it? I can write CPU/bytecode interpreters (although I have never looked at stack based, only register based) but nothing more.

The best I ever came across (and I did manager to write a compiler based on this) is the Let's Build a Compiler series. It's complicated a bit by it being written in Pascal and generates executable code for 68000 processers, but it is relatively easy to follow and convert into C code and make it generate byte code.