Embedded SWI-Prolog demo and tests

This page loads the SWI-Prolog WASM version and interacts with the Prolog system to illustrate data exchange and various calling conventions. Please examine comments in the source code for further explanation.

Welcome to SWI-Prolog (32 bits, version 9.3.21-112-g63ed0b393) SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software. Please run ?- license. for legal details. For online help and background, visit https://www.swi-prolog.org