Is there a prolog that can be run in JavaScript in a browser?

I am looking for a prolog version that can be run in JavaScript in a browser. That is, I want to be able to use the prolog to embed logical operations in a javascript web application

+5
source share
1 answer

It is relatively easy to implement prolog-like in languages ​​that support generators. If you can use es6, you can find an interesting implementation here: https://curiosity-driven.org/prolog-interpreter

The first example of this I came across only on firefox, but was called yield proog: http://yieldprolog.sourceforge.net/

+3
source

Source: https://habr.com/ru/post/1215873/


All Articles