zippy / ceptr

(a recomposable medium for distributed social computing) || (semantic self-describing protocol stacks)
http://ceptr.org
GNU General Public License v3.0
88 stars 17 forks source link

Add protocol composibility #86

Closed zippy closed 8 years ago

zippy commented 8 years ago

Protocols need at least three types of composibility:

Example to build:

zippy commented 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:

zippy commented 8 years ago

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

zippy commented 8 years ago

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.

zippy commented 8 years ago

almost done as of 629ee7be271e which:

Still to do:

zippy commented 8 years ago

as of 9baeea6637c:

zippy commented 8 years ago

still to-do:

zippy commented 8 years ago

364482ce3e fixes testProcessSignatureMatching spec failure

zippy commented 8 years ago

e1d3423d631 now handles binding of USAGE data by looking for ACTUAL_VALUEs in the semantic map when doing template filling