Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: John Prevost <prevost@maya.com>
To: caml-list@inria.fr
Subject: Re: Looking for a nail
Date: 27 Jan 1999 20:30:50 -0500	[thread overview]
Message-ID: <ya2ww2889px.fsf@zarya.maya.com> (raw)
In-Reply-To: Ian T Zimmerman's message of "Tue, 26 Jan 1999 11:20:47 -0800"

Accidentally sent this as a personal reply.  Here it is to the list.

Ian T Zimmerman <itz@transbay.net> writes:

> >  - adding start conditions a la flex to ocamllex
> 
> I haven't thought of this really hard, but I bet there is already a
> way to do that.  If there isn't, I would think hard again to find a
> cleaner, more functional (less stateful) way to do it.  If the current
> condition is kept in a global as in flex, that just drops again the
> reentrancy that Christian has been working so hard to achieve.

The current condition already exists in ocamllex--this is what the
rule name is equivalent to.  The one thing it doesn't do is support
the idea that some regexp -> action specs should be in more than one
rule--which is no real great loss.

I think making the languages of ocamllex and ocamlyacc slightly nicer
wouldn't be entirely out of order, as would writing them in Caml
rather than C.

John.




  reply	other threads:[~1999-01-28  8:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-25 20:53 Hendrik Tews
1999-01-26 19:20 ` Ian T Zimmerman
1999-01-28  1:30   ` John Prevost [this message]
1999-01-28 20:10   ` Hendrik Tews
1999-01-27  1:29 ` Jacques GARRIGUE
1999-01-27  8:27 ` Jean-Christophe Filliatre
1999-01-28  9:34 ` Cuihtlauac ALVARADO
  -- strict thread matches above, loose matches on Subject: below --
1999-01-29  0:45 Frank A. Christoph
1999-01-28 13:32 Don Syme
1999-01-29  0:25 ` Markus Mottl
1999-01-31 18:43 ` John Whitley
1999-01-24 21:06 Miles Egan
1999-01-24 23:01 ` Lyn A Headley
1999-01-25  8:44   ` Jean-Christophe Filliatre
1999-01-25 20:45     ` Markus Mottl
1999-01-25 13:36   ` mattwb
1999-01-25 20:48     ` Trevor Jim
1999-01-25 21:57   ` Gerd Stolpmann
1999-01-25 12:45 ` Michel Schinz
1999-01-25 20:37   ` Markus Mottl
1999-01-28  9:54     ` Michel Schinz
1999-01-28 14:13       ` Markus Mottl

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=ya2ww2889px.fsf@zarya.maya.com \
    --to=prevost@maya.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