On Aug 25, 2004, at 12:01 PM, Joel VanderWerf wrote: > Phil Tomson wrote: >> Anybody got a complete, working and not too large RACC example? > > How about a RACC-based parser for C/C++ expressions? It's mostly > complete, it works (I use it to translate from the Teja language which > embeds C++ expressions), but it may be too large. > I have done something like this for C only - I am going to release it with a companion article soon... Is your parser available to look at? Do you build a syntax tree? -Charlie > It's based on the yacc grammar at > > http://www.lysator.liu.se/c/ANSI-C-grammar-y.html >