On 27/03/14 23:31, Waldek Hebisch wrote:
I think that for formatters we should use followih category:
)abbrev category FORMCAT OutputFormaterCategory
OutputFormaterCategory : Category == with
convert : (OutputForm, Integer) -> %
++ convert(o, step) changes o in standard output format to
++ given format and also adds the given step number.
display : % -> Void
++ display(t) outputs the formatted code
Yes I agree.
Is there any plan, in the future, to make output formatters dynamically
loadable? That is, in the same way that domains can be compiled from the
interpreter and they are immediately available, could output formatters
be made available by a command in the interpreter?
If so, a first step to this would be for each formatter to supply
information that would otherwise be hardcoded into 'setvart.boot'. So
why not have functions like:
getFilenameExtension : % -> String
Also will every formatter have support for iohooks? Or is iohooks a hack
and should there really be proper support for pipes?
Also what is the definition of 'step number'?
Martin
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.