|Front End for a C compiler Rohit.Bodas@motorola.com (Rohit Bodas) (2000-03-23)|
|Re: Front End for a C compiler firstname.lastname@example.org (Rainer Leupers) (2000-03-23)|
|Re: Front End for a C compiler email@example.com (Tom Payne) (2000-03-23)|
|Re: Front End for a C compiler firstname.lastname@example.org (Chris Fraser) (2000-04-01)|
|From:||Tom Payne <email@example.com>|
|Date:||23 Mar 2000 22:42:36 -0500|
|Organization:||University of California, Riverside|
|Keywords:||C, parse, available|
Rohit Bodas <Rohit.Bodas@motorola.com> wrote:
> Can anyone tell me where I can get a front end for a C compiler giving out 3
> address intermediate code.
> [You might be able to get lcc to do what you want. -John]
One of my students developed such a tool.
The RIF (Riverside Intermediate Format) is a format for low-level
representation of programs developed by Eric Sirko at UC, Riverside.
For learnability, RIF is based on C--, a gcc-compilable subset of C
(augmented with gcc's indirect-goto construct). C-- is the assembly
language for a generic three-address load/store architecture, called
TALSA. The RIF toolkit includes an lcc-based C-to-C-- translator, a
(C--)-to-TALSA assembler and disassembler, and a library of functions
data structures for storing and manipulating TALSA programs for
analysis, optimization, and low-level interpretation and translation.
An unmaintained RIF software distribution is downloadable from
Return to the
Search the comp.compilers archives again.