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

Re: Working Group Proposal

John Porter
July 24, 2000 09:40
Re: Working Group Proposal
Message ID:
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. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About