C grammar for perl RecDescent?

[email protected] ("Christophe Milard (EAB)") Thu, 3 Apr 2003 17:06:01 +0200
Newsgroups perl.recdescent
Message-ID <1F55F6582266314A85A55F6241509B67C99C72@Esealnt863.al.sw.ericsson.se>
Hi 
My name is christophe Milard. I have a need to parse some C file to generate som output. I liked the phylosophy of perl_Recdescent (no separate lexical analisys, no code genaration step, 1 file concept... just nice) and I would like to used it... but I need a right recursive grammar for C.
Does someone know if suvh a grammar exists for C? (so I could parse it with recdescent)...
Or.. is there any perl module as simple as recdescent for bottom-up parsers that would take a yacc-like grammar?.
I knoe about byacc and yapp, but they have still the old concept (lexical + grammar -> parser generation). the simplicity of recdescent is really nice if I could only use it for C...

Thanks for your tips,

C.MILARD