You need a logical database with facts and clauses, and being able to call predicates there (that btw, can be recursive).
To make anything practical you also need arithmetic, tail recursion, the cut and being able to assert and retract clauses on the database.
In reply to Re: Using RegExp backtracking to implement Prolog? :-)
by salva
in thread Using RegExp backtracking to implement Prolog? :-)
by BerntB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |