At 12:36 PM -0400 4/23/02, Buddha Buck wrote: >At 08:58 AM 04-23-2002 -0700, Larry Wall wrote: >>Precedence is set with the "like' property: >> >> my sub operator:now ($a,$b) is like("but") is inline { $a but $b } >> sub operator:also ($a,$b) is like("and") is inline { $a and $b } > >OK, but that limits you to the, um, 24 standard levels of >precedence. What do you do if you don't think that that's enough
Internally precedence is going to be stored as a floating-point number. Dunno how it'll be exposed at the language level, but at least there'll be more than just 20 or so levels. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk