Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "José Romildo Malaquias" <j.romildo@gmail.com>
To: caml-list@inria.fr
Cc: gpoore@gmail.com
Subject: [Caml-list] Adding support for OCaml in PythonTeX
Date: Sun, 15 Mar 2015 17:08:10 -0300	[thread overview]
Message-ID: <20150315200810.GA1560@jrm.no-ip.org> (raw)

Hello.

PythonTeX [https://www.ctan.org/pkg/pythontex] is a LaTeX package that
allows Python code entered within a TeX document to be executed, and the
output to be included in the original document. It supports other
languagens beside Python.

I have just requested inclusion of OCaml support in PythonTeX:
https://github.com/gpoore/pythontex/issues/62

The author of PythonTeX says it could be possible, and he explained what
would be needed from the OCaml side. See the discussion in issue #62 in
the previous link.

Basically, it would need a program which reads lines from a text file,
and these lines are given as input to an interactive session, giving
back input interspersed with output. He gives more details in the issue
discussion. Please read the issue discussion in the above link.

Is there already such a program? If not, can it be easily written?

I appreciate any help in providing this program.

Regards,

Romildo

             reply	other threads:[~2015-03-15 20:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-15 20:08 José Romildo Malaquias [this message]
2015-03-19 18:25 ` Martin DeMello
2015-03-19 18:58   ` Thomas Gazagnaire
2015-03-19 19:56     ` Ashish Agarwal
2015-03-19 19:57 ` Roberto Di Cosmo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150315200810.GA1560@jrm.no-ip.org \
    --to=j.romildo@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=gpoore@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox