Prolog Notebook

Jupyter-style notebooks for Prolog, running SWI-Prolog compiled to WebAssembly — in your browser, with nothing installed and nothing sent anywhere.

The chapter below is a real one. Press Run, then ; next, and watch the solutions arrive one at a time, exactly as they would at an interpreter's prompt. Edit the program and consult your own version; reset puts the chapter's back.