On Fri, 16 Jul 2004, Geetha Manjunath wrote:
Examples:
M.moduleHasFunction(functionName) S.serviceHasParameter("a")
M.getModuleAttrList() S.isOCP()
Hmm... Are you proposing some kind of "symbol table" API that would
specify what objects the module exports, by name? So that the core
interpreter could check that all names in a rule set are defined
without actually loading/executing the module?
If a module exports an object called "request", will the API also
define that the "request" object has "headers" and "body" sub-objects?
But the API will not define how an interpreter can actually access
"body" or even "request", right?
What purpose would that API serve other than code validation?
Thanks,
Alex.