PyLog, not require SWI-Prolog right?
christophe.delord at free.fr
Thu Sep 19 06:45:29 CEST 2002
On Thu, 19 Sep 2002 00:07:00 GMT
"Robert Oschler" <Oschler at earthlink.net> wrote:
> PyLog is inpendent of any Prolog interpreter right? There's PyLog and
> PyProlog, the latter I believe is a wrapper and therefore requires
> SWI-Prolog (just like bevedere requires GNU-Prolog), but PyLog doesn't,
> is that correct? Just looking for confirmation.
PyLog only requires Python and TPG. TPG is a parser generator and is used
to parse Prolog.
PyLog is there : http://christophe.delord.free.fr/en/pylog/
TPG is there : http://christophe.delord.free.fr/en/tpg/
Prolog is translated into Python (a predicate is an object) and then
interpreted by Python. So PyLog is independant of any Prolog interpreter
but also slower.
> Also, PyLog supports backracking right?
PyLog supports backtracking but is limited by the size of the Python
stack. This may be not a problem with Stackless Python, I have to try it
(o_ Christophe Delord _o)
//\ http://christophe.delord.free.fr/ /\\
V_/_ mailto:christophe.delord at free.fr _\_V
More information about the Python-list