laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
In reply to Re^3: (Sort of) poll: what Perl6 features do you consider {likely,desirable} to leak into P5?
by BrowserUk
|
|