Re: Searching Perl(5) grammar

Randal Schwartz <>
17 Oct 1997 22:50:20 -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: Randal Schwartz <>
Newsgroups: comp.compilers,comp.lang.perl.misc,
Date: 17 Oct 1997 22:50:20 -0400
Organization: Stonehenge Consulting Services; Portland, Oregon, USA
References: 97-10-026 97-10-087
Keywords: parse

>>>>> "Chip" == Chip Salzenberg <> writes:

Chip> 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.

Chip> 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]

Chip> Good call. Some parser decisions depend on such factors as whether
Chip> a given package (class) has been defined yet.

You forgot "phase of the moon", "remaining supply of smoke for
smoke-and-mirrors", and "relative Bacon number".


print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Email: <> Snail: (Call) PGP-Key: (finger
Web: <A HREF="">My Home Page!</A>

Post a followup to this message

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