User:Jhamalai

= Misc =

Decompiling swi-prolog plc
Sometimes it may be useful to decompile compiled prolog plc file. Short steps how that can be done, for example.


 * 1) Find a environment suitable for your compiled plc file, you are going to do the work there.
 * 2) In your environment check your swipl version and download matching source package from swi-prolog page
 * 3) Unpack the package and copy content from   directory to your environment.   is the important one. Listing
 * 4) Run swi-prolog and load your plc, prolog is a good candidate for initialization goal.
 * 5) Load listing module.
 * 6)   lists user module, and you can use   to list from different modules.