public
Description: a prolog
Homepage: http://propella.blogspot.com/2009/04/prolog-in-haskell.html
Clone URL: git://github.com/propella/prolog.git
prolog /
name age message
file Prolog.hs Fri May 01 10:56:20 -0700 2009 Add README, test.hs, and copyright description [propella]
file README Fri May 01 10:56:20 -0700 2009 Add README, test.hs, and copyright description [propella]
file demo.prolog Tue Apr 28 21:30:52 -0700 2009 add prolog source [propella]
file note-ja.txt Fri May 01 14:19:56 -0700 2009 add moredocumentations [propella]
file note.html Fri May 01 14:19:56 -0700 2009 add moredocumentations [propella]
file test.hs Fri May 01 10:56:20 -0700 2009 Add README, test.hs, and copyright description [propella]
README
A pure prolog interpreter

* Getting started

$ runghc Prolog.hs
or

$ hugs Prolog.hs 
Prolog> main

* Command

food(apple). -- Add a clause.
?- food(X).  -- Query.
??           -- Show all.

* Example

runghc Prolog.hs < demo.prolog