Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Alain Frisch <alain@frisch.fr>
To: "O'Leary, John W" <john.w.oleary@intel.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Camlp4 lexers (>= 3.10)
Date: Sat, 03 May 2008 00:07:26 +0200	[thread overview]
Message-ID: <481B909E.90707@frisch.fr> (raw)
In-Reply-To: <C1B6100C383B23438DEC6B1A3D915EAC03B2DD06@orsmsx411.amr.corp.intel.com>

O'Leary, John W wrote:
> Does anyone have an example that would show me how to connect my own
> lexer to a Camlp4 parser?
>
> I’ve scoured the wiki (http://brion.inria.fr/gallium/index.php/Camlp4)
> but all the examples there use the ocaml lexer.

CDuce's parser uses a lexer generated by ulex:

http://www.cduce.org/cgi-bin/viewcvs.cgi/cduce/trunk/parser/

(Parser and Ulexer modules)


-- Alain


  reply	other threads:[~2008-05-02 22:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 20:15 O'Leary, John W
2008-05-02 22:07 ` Alain Frisch [this message]
2008-05-02 22:14 ` [Caml-list] " Gordon Henriksen
2008-05-03  5:12 ` Gabriel Kerneis

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=481B909E.90707@frisch.fr \
    --to=alain@frisch.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=john.w.oleary@intel.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