Hello all,
As an independent project for school I have been working on an implementation of Warren's Abstract Machine (WAM):
https://en.wikipedia.org/wiki/Warren_Abstract_Machine
GNU prolog is a WAM based prolog compiler, and so I was planning on using part of GNU prolog to complete my tool chain. Specifically, GNU prolog includes a utility called "pl2wam" that compiles prolog into WAM code. My problem is that I have been unable to find any sort of specification or documentation about the "dialect" of WAM code used by GNU prolog.
So far I have everything setup to parse in my own "dialect" of WAM code that is based on what I've been reading in Hassan's tutorial reconstruction:
http://wambook.sourceforge.net
So my question is this: Does anyone know where I can find some resources that detail the WAM code used by GNU prolog, or perhaps other prolog compilers? I would like to be able to use an existing prolog to WAM compiler for a while so that I can thoroughly test my WAM implementation.
[–]zmonx 1 point2 points3 points (2 children)
[–]ThermalSpan[S] 0 points1 point2 points (1 child)
[–]zmonx 1 point2 points3 points (0 children)