develooper Front page | perl.perl6.internals.api.parser | Postings from November 2000

Re: Backtracking through the source

Thread Previous | Thread Next
From:
Simon Cozens
Date:
November 30, 2000 00:31
Subject:
Re: Backtracking through the source
Message ID:
20001130083135.A7341@pembro33.pmb.ox.ac.uk
On Wed, Nov 29, 2000 at 02:57:23PM -0500, Dan Sugalski wrote:
>  My only worry is, how do we reconcile this with the idea of
> >Perl having an easily modifiable grammar and being a good environment for
> >little-language stuff?
> 
> That's a good question, and it depends on what Larry's thinking of for 
> little languages. Smacking the perl parser around enough to handle, say, 
> something C or Pythonish shouldn't be a huge hassle. Making it handle 
> something Lisp-like, though, is another matter entirely.
 
I think my worry was more general than that: if we've got a big monolithic
parsebeast which is making lots of Perlish decisions, at what levels do we
allow the user to modify that? Do they get to replace the whole thing and 
implement their own tokeniser, lexer and parser, or can we find a way to apply
"hooks" to replaceable components?

-- 
"Dogs believe they are human.  Cats believe they are God."

Thread Previous | Thread Next


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