Closed zippy closed 8 years ago
as of f46500374e0f5 therequester/recognizer examples are almost operational. However, sill missing getting the resolution of REQUEST_HANDLER working because currently we aren't treating the send_response process as a code template that would get filled by the REQUEST_HANDLER on resolution. i.e. o_resolve doesn't know how to look into the code and do template substitution. Some approaches:
Ok, next step here is to find a general form for templating that we can apply to all semantic trees. Currently _o_resolve uses two hard-coded search algorithms for look for GOAL and USAGES in EXPECT action slots and SEMTREX_SYMBOL_LITERALS, which works for those two cases, but this would generalize that. It will also probably generalize INTERPOLATE_FROM_MATCH
Now that we have a templating engined (6cafbfa831) we still have to make the SLOTS in code get filled at run-time for this to work.
almost done as of 629ee7be271e which:
Still to do:
as of 9baeea6637c:
still to-do:
364482ce3e fixes testProcessSignatureMatching spec failure
e1d3423d631 now handles binding of USAGE data by looking for ACTUAL_VALUEs in the semantic map when doing template filling
Protocols need at least three types of composibility:
Example to build: