Show WAM code for a given Prolog program

309 Views Asked by At

Given a Prolog program, is there any GNU Prolog command to view the WAM code relative to that program?

1

There are 1 best solutions below

1
On BEST ANSWER

Yes, you can stop the compiler after any stage ( WAM, mini-assembly, assembly, etc).

To stop after WAM code is produced, use flag -W or -w with gplc.