Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Eckart Goehler <goehler@astro.uni-tuebingen.de>
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocamlyacc reentrancy
Date: Sun, 2 May 2004 22:38:47 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.53.0405022235200.10029@ait780f.ait.physik.uni-tuebingen.de> (raw)
In-Reply-To: <1083389761.20722.15.camel@pelican.wigram>

On Sat, 1 May 2004, skaller wrote:

> On Sat, 2004-05-01 at 14:47, Jon Harrop wrote:
> > Apparently the Parser module should be reentrant because it is careful to save
> > and load its global data.
> >
> > http://pauillac.inria.fr/caml/caml-list/0258.html
>
> Thanks for that link.  Xavier says:
>
> "The module Parsing is supposed to be reentrant. Yes, there's some
> global state inside, but we're careful to save and restore it across
> entries. If you have a program demonstrating non-reentrance, please
> send it to me privately and I'll try to fix that."

I only remark that ocamlyacc produces code which might be reentrant but
fails for the original problem mentioned because the parsing function is
not recursive.

For fixing that I refer to an already posted article:

http://caml.inria.fr/archives/200309/msg00258.html


cheers

ekat

-----------------------------------------------------

	Eckart Goehler
        Sand 1
	IAAT, Astronomy
	72076 Tuebingen

	Tel.   : ++49-7071-297 54 73
	Fax.   : ++49-7071-29 34 58
	e-mail : goehler@astro.uni-tuebingen.de

-----------------------------------------------------

-------------------
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


  reply	other threads:[~2004-05-02 20:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-01  3:08 skaller
2004-05-01  4:47 ` Jon Harrop
2004-05-01  5:36   ` skaller
2004-05-02 20:38     ` Eckart Goehler [this message]
2004-05-05 11:52     ` Keith Wansbrough
2004-05-05 14:00       ` skaller

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=Pine.LNX.4.53.0405022235200.10029@ait780f.ait.physik.uni-tuebingen.de \
    --to=goehler@astro.uni-tuebingen.de \
    --cc=caml-list@inria.fr \
    --cc=skaller@users.sourceforge.net \
    /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