2017 © Pedro PelĂĄez
 

symfony-bundle prolog

Warren Abstract Machine for symfony2

image

trismegiste/prolog

Warren Abstract Machine for symfony2

  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

WamBundle

Build Status, (*1)

A Warren's Abstract Machine for Symfony 2.3

Original java version by Stefan BĂŒttcher.br/ PHP port, PhpUnit tests and bundle for Symfony2.3 by Florent Genette., (*2)

Version 1.5, (*3)

What ?

A Warren Abstract Machine (WAM) is a virtual machine (like a JVM for Java) for Prolog. This library is intended to run on PHP 5.4 and preferably on Symfony 2.3. Prolog is a logic language which solve problems with an inference engine., (*4)

This bundle uses my standalone prolog library [trismegiste/wam-prolog][4], (*5)

Install

$ composer.phar require trismegiste/prolog dev-master

CLI with symfony 2.3

Open a command line interface and type : ``` bash php app/console wam:prolog:console, (*6)


## Service for symfony 2.3 You can read PrologGuiController.php. Here is an example : ```php $machine = $this->get('prolog.wam'); $compiler = new Prolog\PrologCompiler($machine); $code = $compiler->compile($prog); $machine->addProgram($code); $result = $machine->runQuery($query);

Licence

cc-by-sa, (*7)

This work is provided with the Creative Commons Attribution Share Alike 3.0 Licence. It means you must keep my name and must provide any derivative works with this licence. You can make money with this as long as you follow these rules. In other words :, (*8)

licence(wam_bundle, cc_by_sa_3).
derivate_work_from(your_work, wam_bundle).
licence(X, L) :- derivate_work_from(X, Y), licence(Y, L).
price(wam_bundle, 0).
price(your_work, _).

Contributors

Special thanks

  • Johann Sebastian Bach
  • William Gibson
  • Gene Roddenberry

The Versions

19/10 2013

dev-master

9999999-dev

Warren Abstract Machine for symfony2

  Sources   Download

CC-BY-SA-3.0

The Requires

 

The Development Requires

symfony2 engine inference prolog

19/10 2013

1.5.0

1.5.0.0

Warren Abstract Machine for symfony2

  Sources   Download

CC-BY-SA-3.0

The Requires

 

The Development Requires

symfony2 engine inference prolog

16/09 2013

1.4.0

1.4.0.0

Warren Abstract Machine for symfony2

  Sources   Download

CC-BY-SA-3.0

The Requires

  • php >=5.4.3

 

The Development Requires

symfony2 engine inference prolog

24/08 2013

1.3.0

1.3.0.0

Warren Abstract Machine for symfony2

  Sources   Download

CC-BY-SA-3.0

The Requires

  • php >=5.3.8

 

The Development Requires

symfony2 engine inference prolog