Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 585 Bytes
# 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;
Something went wrong with that request. Please try again.