Skip to content

aibarbetta/simple-logic-interpreter

This branch is 61 commits ahead of 7510-tecnicas-de-disenio/7510-TP1-Funcional:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5731404 · Nov 3, 2017

History

65 Commits
Sep 4, 2017
Nov 3, 2017
Sep 10, 2017
Aug 30, 2017
Sep 2, 2017
Sep 10, 2017
Aug 30, 2017
Sep 10, 2017
Sep 10, 2017

Repository files navigation

Simple Logic Interpreter Build Status

A Clojure library designed to serve as a logic interpreter.

Prerequisites

Tests

Run tests

$ lein test

Usage

Clone the project

$ git clone https://github.com/abrden/7510-TP1-Funcional.git
$ cd 7510-TP1-Funcional/

Write your database a file (there's some examples here) and run the interpreter with it's path. For example:

$ lein run test/files/number_database.txt

Make any query

add(2,2,1)
(SLI) false

Malformed queries return nil

Hi!
(SLI)

Press 'q' to exit.

q
(SLI) Exiting

Or you could run the SLI with the jar

$ lein uberjar
$ java -jar target/tdd-tp1-1.0.0-SNAPSHOT-standalone.jar test/files/number_database.txt

License

Distributed under the Eclipse Public License either version 1.0 or any later version.

About

Trabajo Práctico - 75.10 Técnicas de Diseño (FIUBA)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%