github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

propella / prolog

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 14
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

a prolog — Read more

  cancel

http://propella.blogspot.com/2009/04/prolog-in-haskell.html

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

add moredocumentations 
propella (author)
Fri May 01 14:19:56 -0700 2009
commit  3bbb002adb62223377364009a18780760d515c92
tree    3503359b6865a871b4468f3da54745f285bdcb5c
parent  bceaa34ea450a30ac9506f063af10c771adab2d7
prolog /
name age
history
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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server