What would happen when lisp meets prolog in python? Dao and Dinpy arises!

2011-11-05 Thread Simeon Chaos
Dao is the new generation programming system implemented by a functional logic solver, unifying code with data, grammar with program, logic with functional, compiling with running. Would you please to have a look at my dao and dinpy? http://pypi.python.org/pypi/daot https://github.com/chaosim/dao

Re: prolog with python

2009-12-03 Thread Sandy
you can also look at swi-prolog and python bridge: pyswip. I am using it and its very nice though it has some issues with 64-bit os. http://code.google.com/p/pyswip/ - dksr On Dec 3, 2:56 am, Chris Rebert c...@rebertia.com wrote: On Wed, Dec 2, 2009 at 6:47 PM, William Heath wghe...@gmail.com

prolog with python

2009-12-02 Thread William Heath
Hi All, I have the following prolog program that I would really like to be able to run in python in some elegant way: q00(X01, R):- write('Are you over 80?'), read(INPUT), write(''), q11(INPUT, R). q11(X11, R):- X11=y, write(' You are passed the hardest year'), !. q00(X01, R):- write('You are

Re: prolog with python

2009-12-02 Thread Chris Rebert
On Wed, Dec 2, 2009 at 6:47 PM, William Heath wghe...@gmail.com wrote: Hi All, I have the following prolog program that I would really like to be able to run in python in some elegant way: From googling: http://pyke.sourceforge.net/ http://code.activestate.com/recipes/303057/ Cheers, Chris