> I'd like to extend the above decorator to handle several different 
> common precedence levels, maybe just addition, multiplication, and power.

You mean that you what to support the following syntaxes ?

   [1,2,3]  +foo+  [1,2,3]
   [1,2,3] **foo** [1,2,3]

I also like the following one because it has a very high precedence and also
because it reminds XML tags

   [1,2,3]  <foo>  [1,2,3]

Cheers,
   
Florent, trying to imagine crazy strange syntaxes... 

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to