From: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Ocaml 3.01 and camlp4 syntax?
Date: Thu, 13 Nov 2008 15:47:21 +1100 [thread overview]
Message-ID: <20081113154721.e3ee306a.mle+ocaml@mega-nerd.com> (raw)
In-Reply-To: <491B82B6.3040009@ens-lyon.org>
Martin Jambon wrote:
> Exactly.
>
> The 3.10 manual says:
>
> 7.2 Streams and stream parsers
>
> The syntax for streams and stream parsers is no longer part of the
> Objective Caml language, but available through a Camlp4 syntax
> extension.
Ah, thank you. I wasn't expecting that in the current manual,
only in the first one or two manual versions after the change.
> > 2) Any suggestions on how to handle the camlp4 syntax stuff in an
> > ocamllex source file? Obviously, this code could be extracted
> > and placed in its own file but I'm open to other suggestions.
>
> I don't know. Have you tried ocamllex followed by camlp4?
I tried it, but ocamllex errored out on the camlp4 code and
if I do camlp4 first, it errors out on the ocamllex code.
Cheers,
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Perl as a language has less a design than a thousand special
features flying in close formation."
-- From the c2 wiki
prev parent reply other threads:[~2008-11-13 4:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 23:22 Erik de Castro Lopo
2008-11-13 1:28 ` [Caml-list] " Martin Jambon
2008-11-13 4:47 ` Erik de Castro Lopo [this message]
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=20081113154721.e3ee306a.mle+ocaml@mega-nerd.com \
--to=mle+ocaml@mega-nerd.com \
--cc=caml-list@inria.fr \
/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