Browse thread
Running several parsers in a single runtime (nethttpd, Menhir)
-
Joel Reymont
- Nicolas Pouillard
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-03-30 (12:54) |
From: | Nicolas Pouillard <nicolas.pouillard@g...> |
Subject: | Re: [Caml-list] Running several parsers in a single runtime (nethttpd, Menhir) |
On 3/30/07, Joel Reymont <joelr1@gmail.com> wrote: > Folks, > > It appears that Parsing uses global state, e.g. > > let rhs_loc n = (Parsing.rhs_start_pos n, Parsing.rhs_end_pos n) > > I'm building an "app server" to provide translation services to Ruby/ > Rails . How would you suggest I work around the global state issue? > Would I need to switch to Menhir? Yes Menhir is reentrant. -- Nicolas Pouillard