caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: Packaging parser as a library
Date: Wed, 28 Mar 2007 12:07:49 +0100	[thread overview]
Message-ID: <244FC2C3-C439-4960-B32F-D11C8FCBB8B3@gmail.com> (raw)

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/




                 reply	other threads:[~2007-03-28 11:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=244FC2C3-C439-4960-B32F-D11C8FCBB8B3@gmail.com \
    --to=joelr1@gmail.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;
as well as URLs for NNTP newsgroup(s).