On 23/03/14 13:44, Waldek Hebisch wrote:
I would like to do new release within a month.  Actually,
there is long time without a release so I would like to
do it as fast as possible.  But there is a bunch of
issues reported.  If possible I would like to get
some new code finished.  And there are some structural
changes (in particular releated to OutputForm) that
should go into new release.  So, it will probably
take a month.

Waldek,

Please could you add this formatter to the next release:

https://github.com/martinbaker/multivector/blob/master/monospace.spad.pamphlet

The documentation is here:

http://www.euclideanspace.com/maths/standards/program/mycode/output/monospace/

(this contains diagrams that I can't put in the pamphlet)

Its just an optional output formatter with the same structure as the other formatters. This is designed to output to a monospace device such as the command line console.

I know you and Ralf are determined to translate i-output.boot to SPAD by a literal translation directly from the boot code (good luck with that). This code is completely independent of that, there is no suggestion here of ever making this the default console output.

The aim of this is to use as the template for more specialist monospace formatters. It would really help me develop this if you could put it in the next release.

Also you could look at this as a form of insurance, if you run into problems doing a literal transpose of i-output.boot, or if the code produced turns out to be difficult to modify or badly documented, then you would keep open the option of developing this.

As it stands I think the code here does a reasonable job of displaying all the various types of expressions in FriCAS, although it is not perfect. It does not yet handle line wrapping very well, as you pointed out this is difficult to do, but I'm not convinced that it is as difficult as you suggest. The program currently generates an array of Character and then outputs this array to the output device. I could easily check the width of this array and, if greater than the line width, choose a place to divide it that does not break apart numbers or names.

Please could you let me know what you think, if you don't want to include this in the next release, then I will find something else to work on.

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.

Reply via email to