All Projects → s-webber → projog

s-webber / projog

Licence: Apache-2.0 license
Prolog programming for the Java platform.

Programming Languages

java
68154 projects - #9 most used programming language
prolog
421 projects

Projects that are alternatives of or similar to projog

ciao
Ciao is a modern Prolog implementation that builds up from a logic-based simple kernel designed to be portable, extensible, and modular.
Stars: ✭ 190 (+900%)
Mutual labels:  prolog-interpreter

projog

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.

Projog can be used as a stand-alone console application or embedded in your Java applications as a Maven dependency.

Resources

Quick Start Guide

The following commands will download Projog and start the console:

$ wget http://projog.org/downloads/projog-0.7.0.zip
$ jar xvf projog-0.7.0.zip
$ cd projog-0.7.0
$ 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.7.0</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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].