On Sep 26, 7:31 am, Jason Grout <[EMAIL PROTECTED]> wrote: > Can we define custom infix operators? Suppose I'd like "boxproduct" to > be an infix operator. Could I make that work? > > Thanks, > > Jason
If you're willing to put a lot of effort into the project, you might be able to do something with Logix (http://www.livelogix.net/logix/). >From the website: "Logix compiles to Python byte-code and can be freely mixed with regular Python modules. ... Logix syntax can be extended on the fly - even at the interactive prompt. Logix is like Lisp with extensible syntax. Or, Logix is Python with syntax extension, expression based syntax, and a powerful macro system." (I've never used Logix myself, only read some of their documentation.) Carl Witty --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---