lcc with other languages?

Larry Rau <>
16 Apr 1996 22:19:10 -0400

          From comp.compilers

Related articles
Retargeting lcc for our architecture (1996-04-13)
Re: Retargeting lcc for our architecture (Chris Fraser) (1996-04-14)
lcc with other languages? (Larry Rau) (1996-04-16)
| List of all articles for this month |

From: Larry Rau <>
Newsgroups: comp.compilers
Date: 16 Apr 1996 22:19:10 -0400
Organization: is not good.
References: 96-04-085 96-04-089
Keywords: lcc, question

Has anyone ever taken lcc and pasted a new language frontend on top?

If this was to be done what would be the best method? Generate the
same tree's as lcc or generate DAGS directly??

Could the lcc symbol table be used? perhaps modified a little for
languages with different scoping.

I have the lcc book and I belive they mentioned things like this in
the book, but has anyone ever tried it?

[Having been one of the earlier suckers who spliced a Fortran front end onto
a C compiler (a little earlier than f77) I can report that small semantic
differences between analogous constructs in different languages can drive
you nuts, particularly if you want to code to be good. -John]


Post a followup to this message

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