caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jun Furuse <jun.furuse@gmail.com>
To: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Is it possible to extend OCaml lexer rules via Camlp4?
Date: Sun, 6 Nov 2011 09:58:16 +0900	[thread overview]
Message-ID: <CAAoLEWt-mXez4962aQSM-e1KqxA=ioKQbrny743Qm7GfJbUimw@mail.gmail.com> (raw)
In-Reply-To: <CALNLti+Y9rqiYhVsJS0BOn8ewqsMRqqkR=kDWzyzZrgs+UTtdA@mail.gmail.com>

Hi,

Unfortunately the conclusion seems to be currently there is no way to
change the lexer by pa_*.cmo modules.

Then, I stick to my patched p4 approach for now. With it I can use
$/regexp\n/i and $`find . -iname hoo` syntax, but for whom using the
vanilla p4, they can still use <:m<regexp\n/i>> and <:qx<find . -iname
hoo>> :

  https://bitbucket.org/camlspotter/orakuda/src/50d736f39428/test

Thanks,
Jun

      reply	other threads:[~2011-11-06  0:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 20:34 Jun Furuse
2011-11-02 22:52 ` Gabriel Scherer
2011-11-03  7:12   ` Jun Furuse
2011-11-03  9:16     ` Jérémie Dimino
2011-11-05 21:19       ` Nicolas Pouillard
2011-11-06  0:58         ` Jun Furuse [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='CAAoLEWt-mXez4962aQSM-e1KqxA=ioKQbrny743Qm7GfJbUimw@mail.gmail.com' \
    --to=jun.furuse@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nicolas.pouillard@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).