This implements a tiny fragment of a metta-resembling language on top of the atomspace. It is able to parse and run this expression: (= (fact $x) (if (< $x 2) 1 (* $x (fact (- $x 1))))) and anything similar to that. It does NOT implement deduce and match or anything else fancy. Demo only. See examples/foreign/metta-lisp.scm for details.
This implements a tiny fragment of a metta-resembling language on top of the atomspace. It is able to parse and run this expression:
(= (fact $x) (if (< $x 2) 1 (* $x (fact (- $x 1)))))
and anything similar to that. It does NOT implementdeduce
andmatch
or anything else fancy. Demo only. Seeexamples/foreign/metta-lisp.scm
for details.