Skip to content
forked from s-webber/projog

Prolog programming for the Java platform.

License

Notifications You must be signed in to change notification settings

NeilMadden/projog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central Build Status License

About

Projog provides an implementation of the Prolog programming language for the Java platform. Prolog is a declarative logic programming language where programs are represented as facts and rules.

Resources

Quick Start Guide

The following commands will download Projog and start the console:

$ wget http://www.projog.org/downloads/projog-0.4.0-SNAPSHOT.zip
$ jar xvf projog-0.4.0-SNAPSHOT.zip
$ cd projog-0.4.0-SNAPSHOT
$ chmod u+x projog-console.sh
$ ./projog-console.sh

When the console has started you can enter the following command:

W=X, X=1+1, Y is W, Z is -W.

Which should generate the following response:

W = 1 + 1
X = 1 + 1
Y = 2
Z = -2

yes

To exit the console type quit.

Maven Artifacts

To include Projog within your project, just add this dependency to your pom.xml file:

<dependency>
   <groupId>org.projog</groupId>
   <artifactId>projog-core</artifactId>
   <version>0.4.0-SNAPSHOT</version>
</dependency>

Reporting Issues

We would be grateful for feedback. If you would like to report a bug, suggest an enhancement or ask a question then please create a new issue.

About

Prolog programming for the Java platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.4%
  • Prolog 7.0%
  • Raku 0.6%