Alex Rousskov wrote:
We are talking about any P program being able to pass any parameters
to any service in scope (e.g., any OCP-speaking or perhaps
WSDL-describable OPES service).
Minor personal preference... I don't like talking about "P programs",
but rather about "P rules", since the former might get people the
impression that P can be used to program actions.
> How will P interpreter know what
parameters are available? Which parameters are optional? What are their
types?
I consider this out-of-scope for the current work. The author of the
rules needs to know about the parameters and their types when writing
the rules.
For example, when I'm writing rules like
if (condition)
invoke Service_A(p1, p2, p3)
then I assume to know about Service_A and its parameters. How I learn
about this is out-of-scope (could be either human interaction or
automated).
-Markus