in reply to Using RegExp backtracking to implement Prolog? :-)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using RegExp backtracking to implement Prolog? :-)
by BerntB (Deacon) on Oct 17, 2006 at 18:09 UTC |