On Fri, May 31, 2024 at 12:55:26AM +0200, Grégory Vanuxem wrote:
> Thanks Waldek,
> 
> My principal problem would be to have a hook in the TeX formatter I think,
> I already have the LaTeX string, it comes from the WolframEngine and I
> can't know in advance which function it will return. I have no problem to
> coerce to OutputForm rationals, integers etc. For numbers it is not a
> problem, but I am also writing a parallel Expression domain, an interface
> in fact, where for example LambertW is PolyLog.

Well, I do not know what is your final goal.  From my point of view,
interface is useful if FriCAS can programtically construct and
analyse "foreign" objects.  I mean, "foreign" objects may live in
their own world, that is OK.  But we need some set of operations
on them.  If all what interface can do is passing strings and getting
string output, then it is rather uninteresting to me.  To put it
differently, for me interesting part is sending some FriCAS data
to "foreign" code and eventually getting back FriCAS data.  AFAICS
this implies that writing convertion of "foreign" data to OutputForm
is more or less trivial.  I mean, to build OutputForm you need to
be able to dissect data into parts, recursively convert each part to
OutputForm and combinie then back.  If this process of dissection
is too complicated, then what useful can you do with such data?

-- 
                              Waldek Hebisch

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZlkWPiVbayDKhsiJ%40fricas.org.

Reply via email to