See https://github.com/guitarvydas/js-prolog.
This is a Scheme-to-Javascript converter that is sufficient to create a PROLOG in JavaScript from Nils Holm's Prolog in 6 Slides Scheme code.
See the development of this code in https://computingsimplicity.neocities.org/blogs/OhmInSmallSteps.pdf
(or https://guitarvydas.github.io/2020/12/09/OhmInSmallSteps.html)