luciangreen's picture
Upload 1424 files
557a17a verified

Program-Finder-from-Data-

Finds recursive algorithms from the structure of data.

Getting Started

Please read the following instructions on how to install the project on your computer for writing algorithms.

Prerequisites

  • Please download and install SWI-Prolog for your machine at https://www.swi-prolog.org/build/.

1. Install manually

Download this repository, the List Prolog Interpreter Repository.

2. Or Install from List Prolog Package Manager (LPPM)

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","Program-Finder-from-Data-").
halt

Running

  • In Shell: cd Program-Finder-from-Data- swipl ['programfinder'].

  • Running the algorithm To generate an algorithm: Input1=[["n","a"]],Inputs2=[["a",5]] ,Output=[["n", 5]] ,programfinder(Input1,Inputs2,Output,Extras,Program),writeln1(Program),international_interpret([lang,"en"],on,[[n,function],[Input1,Inputs2,[],[v,result]]],Program,Result).

Versioning

We will use SemVer for versioning.

Authors

Lucian Green - Initial programmer - Lucian Academy

License

I licensed this project under the BSD3 License - see the LICENSE.md file for details