English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Packaging parser as a library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-28 (11:07)
From: Joel Reymont <joelr1@g...>
Subject: Packaging parser as a library

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  

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

	Thanks, Joel