Wiki Discussion: SWI-Prolog in the browser using WASM

After (ref 1) (ref 2)

  • [2022-08-05] Extended JavaScript binding, run the browser shell using yield.

Much nicer. :slightly_smiling_face:

image

In right panel created parent/2 facts.
Then below that clicked (Re)consult which ran consult('/file.pl').

In left panel ran parent(P,ann) which prints first result and prompts for next action: Next or Stop.

image