Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.585 kb
# For type bits
$include_const 'call_bits.pasm';
# Rosella classes (headers load PBC)
$include 'Rosella/Core.winxed';
$include 'Rosella/Test.winxed';
# PACT classes
$include 'PACT/Packfile.winxed';
$include 'PACT/Packfile/Decompile.winxed';
# Load PACT (Decompile loads Packfile)
$load 'PACT/Packfile/Decompile.pbc';
function compile(string pir) {
var imcc = compreg('PIR');
var view = imcc.compile(pir);
var pack = new 'Packfile'(view);
return pack;
}
function decompile(var packfile) {
:PACT.Packfile.Decompile decomp(packfile);
return decomp.pact;
}
Jump to Line
Something went wrong with that request. Please try again.