Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!ogicse!decwrl!crltrx!decvax!ima!esegue!compilers-sender From: jamison@hobbes.Corp.Sun.COM (Jamison Gray) Newsgroups: comp.compilers,sun.tech Subject: grammar or interpreter for C? Keywords: C,yacc,interpreter Message-ID: <1990Mar20.025440.4989@esegue.segue.boston.ma.us> Date: 20 Mar 90 02:54:40 GMT Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: jamison@hobbes.Corp.Sun.COM (Jamison Gray) Organization: Compilers Central Lines: 18 Approved: compilers@esegue.segue.boston.ma.us 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] -- Send compilers articles to compilers@esegue.segue.boston.ma.us {spdcc | ima | lotus}!esegue. Meta-mail to compilers-request@esegue. Please send responses to the author of the message, not the poster.