9

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

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
MadHatter
  • 638
  • 9
  • 23

1 Answers1

6

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.

gusbro
  • 22,357
  • 35
  • 46