C grammar for perl-RecDescent
[email protected] ((christophe milard)) 3 Apr 2003 14:53:25 -0000
| Newsgroups | perl.recdescent |
|---|---|
| Organization | PerlDiscuss.com |
| Message-ID | <[email protected]> |
Hi!, I have a need to parse C file from perl (to generate som kind of output, not a binary). I loved the phylosophy of perl:recDescent except that it is a top-down parser... An I dont't have such a grammar for C... So the question is: is there such a grammar (right recursice, not left recurvice) for C? Or: Is there any parse::RecUp, that is a perl package as great as perl recdescent for a bottom up parser that would eat-up a usual yacc grammar? I have read about byacc and yapp, but I really liked the simplicity of recDescent (no separate lexical analisys, no extern program generation: just one file and go!) Thanks for your tips, /Christophe