Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Packaging parser as a library
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/