caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Packaging parser as a library
@ 2007-03-28 11:07 Joel Reymont
  0 siblings, 0 replies; only message in thread
From: Joel Reymont @ 2007-03-28 11:07 UTC (permalink / raw)
  To: Caml List

Folks,

I have code that uses a parser generated by ocamlyacc. I would like  
to package the code as a library to be called from C. I'm looking to  
initialize a single OCaml runtime once and call the code multiple times.

Do I need to worry about global state in my code if the C code is  
single-threaded?

Should I assume that only a single instance of my code will be  
running at any time?

	Thanks, Joel

--
http://wagerlabs.com/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-28 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28 11:07 Packaging parser as a library Joel Reymont

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