Re: Searching Perl(5) grammar (Chip Salzenberg)
16 Oct 1997 00:29:24 -0400

          From comp.compilers

Related articles
Searching Perl(5) grammar (Gerd Weishaar) (1997-10-03)
Re: Searching Perl(5) grammar (Tom Phoenix) (1997-10-08)
Re: Searching Perl(5) grammar (1997-10-16)
Re: Searching Perl(5) grammar (Randal Schwartz) (1997-10-17)
| List of all articles for this month |

From: (Chip Salzenberg)
Newsgroups: comp.compilers,comp.lang.perl.misc,
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 <>:
>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. - <>

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.