That is indeed very cool.
I'm confused, though: why are you intimidated by the WAM? First, you
really don't need to be using the WAM directly when you program in Prolog.
Second, even if you do decide to get involved with WAM-level stuff,
there's a very accessible explanation <http://wambook.sourceforge.net/> of
it available.
I do have that book, but the Forth implementation on that page is much more
accessible. While one certainly doesn't need to understand the WAM to write
Prolog, I like to understand my interpreters, and I've always wanted to
resurrect a Prolog on the 6502 (Micro-Prolog, and more importantly the source
to the same, seems to have disappeared in the wind).
--
------------------------------------ personal:
http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems *
www.floodgap.com * ckaiser at
floodgap.com
-- Computer geeks don't byte; we just nybble. ---------------------------------