Trealla Playground
Run Prolog in your browser. Press escape then tab to escape the text editor.
💾 Share
format:
prolog
json
Reset Interpreter
:- use_module(library(format)). fetch(URL, Content) :- phrase(format_("return fetch(~w).then(x => x.json());", [URL]), JS), js_eval_json(JS, Content).
?-
Next
All
Stop
More Info
Trealla Prolog
trealla-js
currently using version:
0.20.7
use version:
all versions