Prolog compiler and interpreter in pure JavaScript (prolog.jldupont.com)