caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <Alain.Frisch@inria.fr>
To: David MENTRE <david.mentre@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] [announce] XStream: streaming XML transformation
Date: Wed, 28 Jun 2006 18:40:57 +0200	[thread overview]
Message-ID: <44A2B119.1020203@inria.fr> (raw)
In-Reply-To: <3d13dcfc0606280923m2930398cw7346bb6b6f97e442@mail.gmail.com>

Hello David,

David MENTRE wrote:
> It seems obvious but I want to be sure: can XStream generated code be
> embedded in OCaml programs (native and bytecode)?

Currently, XStream generates only a fully functional executable
transformaion which reads its input from an XML file and send its output
to the standard output.

It would be quite simple to have it generate an OCaml module which
exports a ``filter'' function (a transformer of XML event streams) if
there is some demand for such a feature.

> How XStream compares to OCamlDuce?

OCamlDuce is intended to write large OCaml applications which need to
manipulate XML data. XStream is really meant as an XML transformation
tool. In particular, to achieve efficient streaming, XStream keeps
control over the evaluation of the transformation as a whole. OCamlDuce,
instead, relies on the regular OCaml evaluation mechanism.

> So XStream cannot be used as a replacement to
> OCamlDuce. Is it correct?

Yes it is.


Regards,

Alain


  reply	other threads:[~2006-06-28 16:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28 15:22 Alain Frisch
2006-06-28 16:23 ` [Caml-list] " David MENTRE
2006-06-28 16:40   ` Alain Frisch [this message]
2006-06-28 17:18 ` Richard Jones
2006-06-29  6:16   ` Alain Frisch

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=44A2B119.1020203@inria.fr \
    --to=alain.frisch@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=david.mentre@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;
as well as URLs for NNTP newsgroup(s).