On Sun, May 10, 2009 at 08:51, Alan Bromborsky <abro...@verizon.net> wrote: > > General Question - > > Is there any general purpose computer language that allows operator > overloading where you can change the precedence of the overloaded operators?
Probably, but certainly none of the reasonably popular ones. You could cobble up an extended Python language, though, with things like python4ply, EasyExtend, and the like. http://www.dalkescientific.com/Python/python4ply.html http://www.fiber-space.de/EasyExtend/doc/main/EasyExtend.html > Is there any CAS (special purpose language) where you can redefine > operator precedence for user defined types. Unlikely. Operator precedence is a parsing issue. The parser knows nothing about the types. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---