Top-rated recipes by Huu Nguyen http://code.activestate.com/recipes/users/1993931/top/2005-05-08T04:47:59-07:00ActiveState Code RecipesExtension to Pythologic -- Prolog syntax in Python (Python)
2005-05-08T04:47:59-07:00Huu Nguyenhttp://code.activestate.com/recipes/users/1993931/http://code.activestate.com/recipes/413570-extension-to-pythologic-prolog-syntax-in-python/
<p style="color: grey">
Python
recipe 413570
by <a href="/recipes/users/1993931/">Huu Nguyen</a>
(<a href="/recipes/tags/programs/">programs</a>).
</p>
<p>this is an extension to Shai Berger's Pythologic to include support for PyLog.
See <a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303057" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303057</a>
You'll also need <a href="http://christophe.delord.free.fr/en/pylog/" rel="nofollow">http://christophe.delord.free.fr/en/pylog/</a></p>
<p>This program also adds the "&" syntatic sugar. See the example class Test.</p>