From: Pieter Van den Abeele <pvdabeel@gentoo.org>
To: Jean Jordaan <jean@upfrontsystems.co.za>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Portage in Prolog: how about logic programming in Python?
Date: Thu, 20 Nov 2003 16:31:53 +0100 [thread overview]
Message-ID: <AAAC1FCE-1B6E-11D8-A0C8-0003938E7E46@gentoo.org> (raw)
In-Reply-To: <3FBC8053.8080808@upfrontsystems.co.za>
[-- Attachment #1: Type: text/plain, Size: 2141 bytes --]
On 20 Nov 2003, at 09:50, Jean Jordaan wrote:
> Hi all
>
> I saw drobbins's mention of Prolog as a possibility for future
> portage, because of the need for logic programming. As a Python
> lover, I have to point at the Logilab.org - Python Logic SIG,
> implementing logic programming in Python.
> http://www.logilab.org/projects/python-logic
Hi,
I'm writing portage core in (iso-compliant) prolog as part of my thesis
at the free university of brussels, I'll make my papers with
implementation available to gentoo.
I'm not familiar with the libraries you suggested, but Pylog seems very
interesting, because at first sight it is able to interpret
iso-compliant prolog. However I saw the following warning:
WARNING: The cut doesn't work well in the current PyLog version
(backtracking over a cut doesn't undo the unifications done before the
cut). This problem seems hard to fix with the current structure of
PyLog and won't be tackled soon.
since cut is a rather crucial part of prolog, (and surely affects
performance), I doubt that Pylog implements enough of the iso standard
(efficiently?) to run a real prolog program. Same goes for the
constraints package, which seems to provide only limited support. We
also need to investigate whether bugs are fixed rappidly enough...
I was under the impression that prolog has very few dependencies and is
able to interact with most languages (including python), so I guess the
need to really include it in python or some other language is rather
low, but I'm not excluding anything :-)
Regards,
Pieter
> From the site:
>
> """
> The goal of the "unofficial" Logic-SIG is to provide logic programming
> and constraint-propagation features in Python. If you are interested
> in participating, please join the mailing list.
>
> 1. Available software
>
> * Logilab's constraint package is a full-python constraint
> satisfaction solver similar that what Oz/Mozart implements.
> * PyLog from Christophe Delord is a first order logic library in
> Python
> """
>
> --
> Jean Jordaan
> http://www.upfrontsystems.co.za
>
>
> --
> gentoo-dev@gentoo.org mailing list
>
[-- Attachment #2: Type: text/enriched, Size: 2189 bytes --]
On 20 Nov 2003, at 09:50, Jean Jordaan wrote:
<excerpt>Hi all
I saw drobbins's mention of Prolog as a possibility for future
portage, because of the need for logic programming. As a Python
lover, I have to point at the Logilab.org - Python Logic SIG,
implementing logic programming in Python.
http://www.logilab.org/projects/python-logic
</excerpt>
Hi,
I'm writing portage core in (iso-compliant) prolog as part of my
thesis at the free university of brussels, I'll make my papers with
implementation available to gentoo.
I'm not familiar with the libraries you suggested, but Pylog seems
very interesting, because at first sight it is able to interpret
iso-compliant prolog. However I saw the following warning:
<fontfamily><param>Arial</param>
WARNING: The cut doesn't work well in the current PyLog version
(backtracking over a cut doesn't undo the unifications done before the
cut). This problem seems hard to fix with the current structure of
PyLog and won't be tackled soon.
</fontfamily>
since cut is a rather crucial part of prolog, (and surely affects
performance), I doubt that Pylog implements enough of the iso standard
(efficiently?) to run a real prolog program. Same goes for the
constraints package, which seems to provide only limited support. We
also need to investigate whether bugs are fixed rappidly enough...
I was under the impression that prolog has very few dependencies and
is able to interact with most languages (including python), so I guess
the need to really include it in python or some other language is
rather low, but I'm not excluding anything :-)
Regards,
Pieter
<excerpt>From the site:
"""
The goal of the "unofficial" Logic-SIG is to provide logic programming
and constraint-propagation features in Python. If you are interested
in participating, please join the mailing list.
1. Available software
* Logilab's constraint package is a full-python constraint
satisfaction solver similar that what Oz/Mozart implements.
* PyLog from Christophe Delord is a first order logic library in
Python
"""
--
Jean Jordaan
http://www.upfrontsystems.co.za
--
gentoo-dev@gentoo.org mailing list
</excerpt>
next prev parent reply other threads:[~2003-11-20 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 8:50 [gentoo-dev] Portage in Prolog: how about logic programming in Python? Jean Jordaan
2003-11-20 15:31 ` Pieter Van den Abeele [this message]
2003-11-20 16:02 ` Jean Jordaan
2003-11-21 20:37 ` Paul de Vrieze
2003-11-22 16:53 ` Aron Griffis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AAAC1FCE-1B6E-11D8-A0C8-0003938E7E46@gentoo.org \
--to=pvdabeel@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=jean@upfrontsystems.co.za \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox