develooper Front page | perl.bootstrap | Postings from July 2000

Re: Working Group Proposal

From:
John Porter
Date:
July 24, 2000 09:40
Subject:
Re: Working Group Proposal
Message ID:
20000724124014.E7839@min.net
Nick Ing-Simmons wrote:
> I think that a (non absolute) goal of perl6's grammar should be that it 
> is a near to yacc/byacc/bison/yapp LALR(1) as is possible without quite so 
> much hackery in the lexer.  

I have strong feelings to the contrary.
Perl is a context-dependent language -- that's one of the things
we like about it, right? -- and as such is not parsable by anything
LL, including LALR.

But I'll concede that a satisfyingly rich language could be done
in LALR -- perhaps LALR(5)? -- and maybe it would be good in the
long term for Perl to be so.

-- 
John Porter

	Aus tiefem Traum bin ich erwacht.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About