Version française
Home     About     Download     Resources     Contact us    
Browse thread
Running several parsers in a single runtime (nethttpd, Menhir)
[ 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: Running several parsers in a single runtime (nethttpd, Menhir)
Folks,

It appears that Parsing uses global state, e.g.

   let rhs_loc n = (Parsing.rhs_start_pos n, Parsing.rhs_end_pos n)

I'm building an "app server" to provide translation services to Ruby/ 
Rails . How would you suggest I work around the global state issue?  
Would I need to switch to Menhir?

	Thanks, Joel

--
http://wagerlabs.com/