C-- backend?




Jacob,

There is an intermediate language called C--.
http://www.cminusminus.org/qc--.html

Although the code for C-- has been released, it appears that there is a
backend for lcc which has never been released:
"We have adapted Fraser and Hanson's lcc compiler to emit C--, except that
this compiler cannot compile varargs functions. (Calls to varargs functions
are OK.) This work is not on our web site, but we are happy to share it with
interested researchers."
http://www.cminusminus.org/code.html

It seems like this project is winding down:
"One of our grad students is using C-- as a central part of his PhD
thesis, and we will certainly be keeping it alive long enough for him
to graduate :-) After that, a lot depends on my future job."

https://cminusminus.org/lists/pipermail/cminusminus/2006-December/000008.html

Anyway, if you're interested, you might post here and ask about the code:
news://news.gmane.org/gmane.comp.lang.c--


Rod Pemberton

.



Relevant Pages

  • Re: Check out POASM
    ... Actually, IIRC, LCC was written back in the Minix days. ... Pelles C is a classic example of how a good open-source license can ... providing a well-maintained C compiler that people can get for free. ... > with its so funny Assembly Compiler. ...
    (alt.lang.asm)
  • Re: Downloadable standards file?
    ... This is not the original version of lcc, that is C89, but lcc-win32 ... So your point is that I should buy your compiler, ... This is NONE of your business. ... "The power of accurate observation is called cynicism by those ...
    (comp.lang.c)
  • Re: Gibt es einen schnelleren C compiler ?
    ... Für Geld gibt's noch den xlc von IBM, das ist auch der einzige mir ... > Ich hatte mal was gelesen von einem PPC backend für den LCC Compiler? ...
    (de.comp.sys.mac.programmieren)
  • Re: writing a C compiler in Common Lisp
    ... Fraser and Hanson which describes the lcc compiler. ... Lcc uses a newer technology called lburg. ... Lispworks comes with a yacc-like parser generator. ...
    (comp.lang.lisp)
  • Re: Mex Overflow Error Using Free Borland Compiler
    ... > tried lcc again right now and got this: ... The lcc compiler tells straight out that you are feeding it more than ... The Borland compiler has likely encountered internal ... C/CMEX, and on numerics. ...
    (comp.soft-sys.matlab)