Re: Front End for a C compiler

Tom Payne <thp@roam-thp2.cs.ucr.edu>
23 Mar 2000 22:42:36 -0500

          From comp.compilers

Related articles
Front End for a C compiler Rohit.Bodas@motorola.com (Rohit Bodas) (2000-03-23)
Re: Front End for a C compiler leupers@ls12sr.cs.uni-dortmund.de (Rainer Leupers) (2000-03-23)
Re: Front End for a C compiler thp@roam-thp2.cs.ucr.edu (Tom Payne) (2000-03-23)
Re: Front End for a C compiler cwfraser@microsoft.com (Chris Fraser) (2000-04-01)
| List of all articles for this month |
From: Tom Payne <thp@roam-thp2.cs.ucr.edu>
Newsgroups: comp.compilers
Date: 23 Mar 2000 22:42:36 -0500
Organization: University of California, Riverside
References: 00-03-099
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.


> thx
> Rohit
> [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
www.cs.ucr.edu/~thpproj/RIF.


Tom Payne


Post a followup to this message

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