Related articles |
---|
Approach for Implementation mohit@arrakis.tamu.edu (Mohit Dewan) (2003-06-03) |
Re: Approach for Implementation max1@mbank.com.ua (2003-06-05) |
Re: Approach for Implementation kenrose@tfb.com (Ken Rose) (2003-06-05) |
From: | Mohit Dewan <mohit@arrakis.tamu.edu> |
Newsgroups: | comp.compilers |
Date: | 3 Jun 2003 01:12:16 -0400 |
Organization: | Compilers Central |
Keywords: | C, question |
Posted-Date: | 03 Jun 2003 01:12:16 EDT |
Content-Disposition: | inline |
I am trying to write a scaled down version of a C compiler for a new
chip set (which has its own set of assembly instructions). It would
be great if I can get some help to figure out my approach for
implementation.
So far I have thought of scanning, parsing to make an abstract syntax
tree, intermediate code generation and then finally the desired
assembly code.
Is this the only approach to do this or is there a better way?
Any help would be appreciated,
Mohit (mohit@tamu.edu)
[I suggested that he adapt lcc. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.