Discussion: Introducing new operators for matrix computation
John Lull
lull at acm.org
Fri Jul 14 23:05:03 EDT 2000
Paul Prescod <paul at prescod.net> wrote (with possible deletions):
> You are asking for a
> lot of syntax but not proposing that your module go into Python. In
> other words it is a lot of syntax that doesn't get used until you
> install a third party module.
Well shoot, if that's the objection, then put it in the standard
distribution! :)
The problem is that Python provides no way for an add-on module to
define new operators. It's thus impossible to provide appropriate
notation *without* making it part of the language. If there were some
way to define, in the module, how to interpret specific new operators,
that should be adequate -- but that seems like a *far* more difficult
solution than what's needed here.
Unfortunately, the current lack of appropriate notation makes these
problems very difficult to code clearly.
Regards,
John
More information about the Python-list
mailing list