# List Prolog Interpreter # Prerequisites * Please download and install SWI-Prolog for your machine at https://www.swi-prolog.org/build/. * You may need to install gawk using Homebrew. * Install Translation Shell on Mac, etc. Change line in & culturaltranslationtool/ctt2.pl trans_location("../../../gawk/trans").& to correct location of trans. # 1. Install manually Download this repository, the Languages repository and Cultural Translation Tool into the same folder. # 2. Or Install from List Prolog Package Manager (LPPM) * Download the LPPM Repository: & mkdir GitHub cd GitHub/ git clone https://github.com/luciangreen/List-Prolog-Package-Manager.git cd List-Prolog-Package-Manager swipl ['lppm']. lppm_install("luciangreen","listprologinterpreter"). halt & # Running * Download the repository to your machine. In Shell: cd listprologinterpreter swipl ['listprolog']. * Running the tests To run all tests, enter: &test(off,NTotal,Score).& * To run a specific test: &test1(off,TestNumber,Passed).& where TestNumber is the test number from lpiverify4.pl.