Separate from the coercion model, I have some ideas for changing where
printing code lives (see the section on printers at the bottom of
http://www.sagemath.org:9001/days7/coercion).  I agree that it should
be easy to implement output into other formats, and I'll keep that in
mind when I actually sit down to implement printer objects.
David

On Tue, Apr 1, 2008 at 2:33 PM, root <[EMAIL PROTECTED]> wrote:
>
>  Robert,
>
>  I briefly looked over your coercion model.
>
>  _repr_ This is the easiest way to define how your object prints
>        It should take a string representing your object
>        I takes one argument, do_latex
>
>
>  I might comment that Axiom uses an output domain that exports functions
>  for constructing the print representation of its objects. This design
>  has made it possible for an object to print itself in various ways.
>
>  Over time Axiom has implemented many different output forms, such as
>  script (an IBM internal scripting language), algebra (the default 2D
>  ascii output), LaTeX, FORTRAN, and most recently MathML, used in the
>  new Firefox front end.
>
>  You might consider a design that allows the end user the option of
>  specifying the desired output form as decoupled from the object
>  structure.
>
>  Tim Daly
>  Axiom
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to