At 2:34 PM -0700 4/5/02, Luke Palmer wrote:
>  > You can do anything you like if you mess with the parser.  Changing
>>  the rules for recognizing an identifier would be trivial.
>
>Does this refer to messing with the parser... compile time (that is, when
>Perl compiles, not when Perl is compiled)? Or are you actually talking
>about screwing with the Perl source? That'd sure be cool (albeit a little
>weird) to change parsing rules at compile time.

Don't forget, we already change parsing rules at compile time. Perl's 
got three (maybe four) different sets of rules as it is:

   *) Normal perl
   *) Regexes
   *) Double-quoted strings
   *) Single-quoted strings

Adding another, or changing those, isn't a big deal.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to