Show WAM code for a given Prolog program

330 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 answers

1
gusbro 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.