Inner loop compiler
- Posted by Rich_Ries at Ademco.com Sep 12, 2002
- 477 views
A long time ago, Barbarella wrote, "I have practically no experience with assembly or compilers, but I thought writing a compiler might give me some experience." I'd like to suggest that, at least to start to get a handle on compilers, that you look at Jack Crenshaw's tutorials called "Let's Build a Compiler." The original had code in Turbo Pascal (!), but I believe someone translated the Pascal to C. The tutorial, while it is somewhat incomplete in that it does not go into strings and the like, is excellent for learning how a compiler compiles. The files are on Simtel.net (www.simtel.net). Just do a search for "Crenshaw", and it will come right up. Also, take a look at his articles in Embedded Systems Programming Magazine (www.embedded.com). Go into the archives for 1998. The articles are found in the issues from May through December. --Rich --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.386 / Virus Database: 218 - Release Date: 9/9/02