Approach for Implementation

Mohit Dewan <>
3 Jun 2003 01:12:16 -0400

          From comp.compilers

Related articles
Approach for Implementation (Mohit Dewan) (2003-06-03)
Re: Approach for Implementation (2003-06-05)
Re: Approach for Implementation (Ken Rose) (2003-06-05)
| List of all articles for this month |

From: Mohit Dewan <>
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

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 (
[I suggested that he adapt lcc. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.