Re: C grammar for perl-RecDescent

[email protected] ((Randal L. Schwartz)) 04 Apr 2003 17:59:24 -0800
Newsgroups perl.recdescent
Organization Stonehenge Consulting Services; Portland, Oregon, USA
Message-ID <[email protected]>
>>>>> "Christophe" == Christophe Milard <[email protected]> writes:

Christophe> I have a need to parse C file from perl (to generate som
Christophe> kind of output, not a binary).  I loved the phylosophy of
Christophe> perl:recDescent except that it is a top-down parser... An
Christophe> I dont't have such a grammar for C...  So the question is:
Christophe> is there such a grammar (right recursice, not left
Christophe> recurvice) for C?

You mean, *besides* the one provided in the "demo" directory
in the distribution, available for example at:

<http://search.cpan.org/src/DCONWAY/Parse-RecDescent-1.93/demo/demo_Cgrammar.pl>?

Does that one not meet your needs?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!