At 7:25 AM -0700 4/11/02, Randal L. Schwartz wrote: > >>>>> "Dan" == Dan Sugalski <[EMAIL PROTECTED]> writes: > >Dan> (Or maybe attributed string eval, like: > >Dan> $foo = eval.Parrot <<EOP >Dan> set I0, 12 >Dan> sub I0, I0, 5 >Dan> EOP > >That would make more sense to me (for whatever that's worth) as > >$foo = Parrot.eval <<EOP; > set I0, 12 > sub I0, I0, 5 > EOP > >Or am I missing something?
I was thinking we'd be throwing an attribute on string eval telling it which parser rules to use (hence the .Parrot on the end, which is probably the wrong syntax) rather than having each set of parser rules be a separate class with an eval method. The syntax probably should've been "eval is Parrot" or something like that. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk