mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Interaction in CAS through pipes


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: Paulo Jorge de Oliveira Cantante de Matos <address@hidden>
  • Cc: TeXmacs-users ML <address@hidden>
  • Subject: Re: [TeXmacs] Interaction in CAS through pipes
  • Date: Wed, 26 May 2004 18:11:54 +0200 (CEST)


On Wed, 26 May 2004, Paulo Jorge de Oliveira Cantante de Matos wrote:
> In continuation to the "Interaction with CAS" and after reading some
> TeXmacs docs I have some questions:

Notice also that you have to decide whether you want to communicate
over a pipe, or directly inside TeXmacs (which assumes that you
use Guile Scheme and not PLT scheme).

> Being my CAS writen in scheme (PLT Scheme to be precise), instead of
> outputting LaTeX like mentioned in the docs I could output directly the
> texmacs trees (I couldn't find a specification of this trees, since the
> docs only mentioned the transformers). Outputting directly texmacs trees
> would be easier to texmacs to parse and since they are in scheme, maybe
> they'd be easier for me to output.

That is certainly what I had in mind.

> Same thing for inputting data into my CAS. Texmacs could send texmacs
> trees directly to me so that I could parse them into my CAS objects.

We already do provide some "flattening facilities" (see the other
plug-ins and Help -> Interfacing -> Mathematical and customized output).
A student is also working on an integrated parser/pretty-printing tool
written in Scheme. If you have some free time, then you might be
interested in helping him.

> This way I wouldn't need to have the DATA_BEGIN, DATA_END or DATA_ESCAPE
> characters, we could exchange scheme code directly through the pipe.
>
> I can't see this options mentioned in the docs. Please redirect me if I
> failed to see them.

Carefully read the whole section Help -> Interfacing. Two third of it
is bound to be interesting for you. You may send TeXmacs trees using
the "scheme" format. I also recommend you to take a look what other
plug-ins do.




Archive powered by MHonArc 2.6.19.

Top of page