At 09:57 PM 8/9/00 -0700, Matthew Cline wrote:
>On Wed, 09 Aug 2000, Nathan Torkington wrote:
> > It seems to me that a perl5 program exists as several things:
> > - pure source code (ASCII or Unicode)
> > - a stream of tokens from the parser
> > - a munged stream of tokens from the parser (e.g., use Foo has
> > become BEGIN { require Foo; Foo->import })
> > - an unthreaded and unoptimized optree
>
>Isn't there a tree of whatchamacallits between a token stream and
>the optree, and also a symbol table? I'm not too up on compilers...
I think so. There are some thingamabobs in there too. :)
I think we'll see at least a syntax tree, a bytecode stream, and an optree
in perl 6, depending on where you look. That's still sort of up in the air,
though. (We might see machine code too, if I can convince myself that it
can be done portably)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk