Re: Front End for a C compiler

Tom Payne <>
23 Mar 2000 22:42:36 -0500

          From comp.compilers

Related articles
Front End for a C compiler (Rohit Bodas) (2000-03-23)
Re: Front End for a C compiler (Rainer Leupers) (2000-03-23)
Re: Front End for a C compiler (Tom Payne) (2000-03-23)
Re: Front End for a C compiler (Chris Fraser) (2000-04-01)
| List of all articles for this month |

From: Tom Payne <>
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 <> 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

Tom Payne

Post a followup to this message

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