Related articles |
---|
Searching Perl(5) grammar weishaar@soft.uni-linz.ac.at (Gerd Weishaar) (1997-10-03) |
Re: Searching Perl(5) grammar rootbeer@teleport.com (Tom Phoenix) (1997-10-08) |
Re: Searching Perl(5) grammar chip@rio.atlantic.net (1997-10-16) |
Re: Searching Perl(5) grammar merlyn@stonehenge.com (Randal Schwartz) (1997-10-17) |
From: | chip@rio.atlantic.net (Chip Salzenberg) |
Newsgroups: | comp.compilers,comp.lang.perl.misc,comp.compilers.tools.pccts |
Date: | 16 Oct 1997 00:29:24 -0400 |
Organization: | n. The state of being or the process of becoming organized |
References: | 97-10-026 |
Keywords: | parse |
According to Gerd Weishaar <weishaar@soft.uni-linz.ac.at>:
>I'm searching for a Perl grammar with the purpose to develope an
>analysis tool for perl programs. The yacc-file included in the
>perl5 package is quite tricky and difficult to read.
That's because Perl itself is tricky and difficult to parse.
>[I'd be surprised if anything much simpler than the parser in perl5 could
>correctly parse perl5. -John]
Good call. Some parser decisions depend on such factors as whether
a given package (class) has been defined yet.
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.