Re: P-services interface in Strawman OPES Charter

Alex Rousskov <[email protected]>
Newsgroups gmane.ietf.opes
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.