[EMAIL PROTECTED] wrote: > One may suggest that we store grammar A in the pool/cache after it's > loaded. But remember that the pool/cache should be maintained by the > application, who might not want to cache A at all.
What about a "shadow" pool/cache? The application would still have its cache and control what gets put into it and the parser would have its own cache which is a shadow of the application's. In that way, the parser could add "local" grammars to avoid duplicate work without affecting the application's "global" cache. -- Andy Clark * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
