Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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