As suggested in issue #3, In order to proceed to porting other subsystems we choose to wrap the existing Combo reduct engine.
Given a program P to be reduced, first we want to convert P to a combo::tree CP and reduce it using reduct to CP_reduced then convert it back to Atomese P_reduced.
Finally we need to store it in ReductLink, ReductLink can be
REDUCT_LINK <- ORDERED_LINK "ReductLink"
(ReductLink
(Schema "Rule")
(Schema "P")
(Schema "P_reduced"))
or just
(ReductLink
(Schema "P")
(Schema "P_reduced"))
As suggested in issue #3, In order to proceed to porting other subsystems we choose to wrap the existing Combo reduct engine.
Given a program
Pto be reduced, first we want to convertPto acombo::treeCPand reduce it using reduct toCP_reducedthen convert it back to AtomeseP_reduced.Finally we need to store it in
ReductLink,ReductLinkcan be(ReductLink (Schema "Rule") (Schema "P") (Schema "P_reduced"))or just
(ReductLink (Schema "P") (Schema "P_reduced"))