caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: charles.lehalle@miriadtech.com
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamllex parametrized parse regexp
Date: 07 Sep 2004 03:49:39 +1000	[thread overview]
Message-ID: <1094492979.3352.1238.camel@pelican.wigram> (raw)
In-Reply-To: <opsdwxscak1j4mhy@tahiti2.miriad.fr>

On Tue, 2004-09-07 at 02:08, lehalle@miriad wrote:
> Hi,
> 
> I try to use ocamllex like this (I want to have one of the parsing regexp  
> to be read from an external file) :

> let mark = ...read in a file...

No, you can't do this directly: ocamllex regexps
have to be known at ocamllex compile time.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      parent reply	other threads:[~2004-09-06 17:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06 15:50 [Caml-list] mod_caml makes Apache segfault Alan Schmitt
2004-09-06 16:02 ` Benjamin Geer
2004-09-06 16:03 ` Richard Jones
2004-09-07  6:50   ` Alan Schmitt
2004-09-07  8:34     ` Richard Jones
2004-11-09 18:02   ` Paul Argentoff
2004-11-10  3:52     ` N. Owen Gunden
2004-11-10  9:35       ` Richard Jones
2004-11-10 15:27         ` Paul Argentoff
2004-11-10 15:25       ` Paul Argentoff
2004-09-06 16:08 ` [Caml-list] ocamllex parametrized parse regexp lehalle@miriad
2004-09-06 17:34   ` Luc Maranget
2004-09-06 17:49   ` skaller [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=1094492979.3352.1238.camel@pelican.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=charles.lehalle@miriadtech.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).