Launching Prolog in a Web Browser
Just wondering if it is possible to run a prolog script in a browser? I studied it at university and I'd like to add it to my online portfolio?
+3
Conall curran
source
to share
3 answers
I don't know what you want to do with Prolog online, but there are several online "IDEs" and compilers in several languages (Prolog included) here so you can execute the prolog script there
If you want to run the prologue with scrath in the browser, I'm afraid I don't know how to do it easily.
+2
angrykoala
source
to share
yes, YieldProlog is a ready-to-use "transpiler" from a good subset of Prolog for JavaScript.
change
There is now a better ISO compatible alternative: Tau Prolog
+2
CapelliC
source
to share
Not sure if swish and / or pengines can help? http://swish.swi-prolog.org/
http://pengines.swi-prolog.org/apps/scratchpad/index.html
+1
user27815
source
to share