> - instead of 'pretend' to SExpression it seems better to define
>   accessors for OutputForm and use them

I am hesitant to doing this.

1) During translation I don't want to touch other code even if it were
trivial like the one you suggested.

2) From the algebraic side, OutputForm is a write-only format.
Only formatters need to know how OutputForm is structured, i.e. for
formatters OutputForm is read-only. For this reason, I would eventually
introduce another type like "OutputFormat" which would give reasonable
accessor functions. But I haven't yet studied formatters and I guess
that OutputFormat wouldn't need the "write-only" features of OutputForm,
but it would rather be like read-only SExpression. I'd like to give a
new name though to make sure that the data is not changed during formatting.

3) Of course, I don't like "pretend" very much, but it's the first
approximation and I hope that can all be cleaned up after all the
i-output.boot code is in spad.

Ralf

-- 
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