in reply to Re^2: (Sort of) poll: what Perl6 features do you consider {likely,desirable} to leak into P5?
in thread (Sort of) poll: what Perl6 features do you consider {likely,desirable} to leak into P5?
I'd like that ability too, but I seriously doubt it is possible.
Having (just) managed to work my way through the process of adding a new keyword, I have a new (but still basic) understanding of the process involved in toke.c.
I cannot imagine that it would be an easy task to allow the addition on new operators on the fly.
If the macro facility was added, then you might be able to define a few catchall keywords that would act as placeholders in the syntax. Say uniop() and binop() and then wrap those in macros to define an new operator. Not sure about that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: (Sort of) poll: what Perl6 features do you consider {likely,desirable} to leak into P5?
by blazar (Canon) on Mar 10, 2005 at 09:50 UTC | |
by BrowserUk (Patriarch) on Mar 10, 2005 at 10:12 UTC | |
by dragonchild (Archbishop) on Mar 10, 2005 at 13:24 UTC | |
by BrowserUk (Patriarch) on Mar 10, 2005 at 17:06 UTC | |
by blazar (Canon) on Mar 10, 2005 at 13:00 UTC |