caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pietro Abate <Pietro.Abate@pps.jussieu.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Custom lexer in Camlp4
Date: Tue, 24 Jun 2008 18:07:38 +0200	[thread overview]
Message-ID: <20080624160738.GB10353@uranium.pps.jussieu.fr> (raw)
In-Reply-To: <4860F097.1000701@ed.ac.uk>

Hi,

a while ago I posted an example to replace the camlp4 lexer with a
custom one. Nobody replied to my post. Maybe it was just plain wrong,
but maybe it is worth a look. 

http://groups.google.com/group/fa.caml/browse_thread/thread/e51ee5ef1d837d36/0bd94b4d2e824536?lnk=gst&q=camlp4+and+lexers#

p


On Tue, Jun 24, 2008 at 02:03:19PM +0100, Jeremy Yallop wrote:
> Is there a way to replace the default lexer in Camlp4?  I'd like to use 
> (an extended version of) one of the OCaml grammars, but with a different 
> lexer.
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


      parent reply	other threads:[~2008-06-24 16:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24 13:03 Jeremy Yallop
2008-06-24 14:32 ` [Caml-list] " Nicolas Pouillard
2008-06-24 14:30   ` Jeremy Yallop
2008-06-24 15:16     ` Richard Jones
2008-06-24 15:43       ` Hezekiah M. Carty
2008-06-24 15:54         ` Nicolas Pouillard
2008-06-24 16:04         ` Hezekiah M. Carty
2008-06-24 16:59       ` Yaron Minsky
2008-06-25  8:41         ` Richard Jones
2008-06-25  9:17           ` Christophe TROESTLER
2008-06-24 15:37     ` Nicolas Pouillard
2008-06-24 15:43       ` Andrej Bauer
2008-06-25 11:53       ` Jeremy Yallop
2008-06-25 12:16         ` Nicolas Pouillard
2008-06-24 16:07 ` Pietro Abate [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=20080624160738.GB10353@uranium.pps.jussieu.fr \
    --to=pietro.abate@pps.jussieu.fr \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).