grammar or interpreter for C?

jamison@hobbes.Corp.Sun.COM (Jamison Gray)
19 Mar 90 22:51:34 GMT

          From comp.compilers

Related articles
grammar or interpreter for C? jamison@hobbes.Corp.Sun.COM (1990-03-19)
Re: grammar or interpreter for C? charlie@genrad.genrad.COM (1990-03-15)
| List of all articles for this month |

From: jamison@hobbes.Corp.Sun.COM (Jamison Gray)
Newsgroups: comp.compilers,sun.tech
Keywords: C,yacc,interpreter
Date: 19 Mar 90 22:51:34 GMT
Original-sender: news@sun.Eng.Sun.COM



Howdy! I'd like to get my hands on source code for either of the following:


* An interpreter for C, or a subset that includes handling of
    structure elements and pointers - things like *, &, ->, ".", etc.


* A parser and scanner for C, preferably in yacc & lex form.
    Even just the grammar without the code for the actions would
    be helpful, if that's all I can get -- especially if it does
    all the precedence specification correctly.


Pointers to books or other sources for either of these
are also welcome. Thanks!


-- Jamie Gray


Jamie Gray, Sun Microsystems "Broken pipes; broken tools;
Mountain View, CA People bendin' broken rules"
Internet: jamison@Sun.COM - Bob Dylan, "Everything's Broken"
[I've sent him the C grammar that I give away. Anyone passing out
C interpreters? -John]





Post a followup to this message

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