Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.554 kB
use NieczaBackendNAM;
class NieczaBackendDotnet is NieczaBackendNAM;
sub run_subtask($file, *@args) {
Q:CgOp { (rawscall Builtins,Kernel.RunCLRSubtask {$file} {@args}) }
}
method post_save($name, :$main) {
my $fname = $name.split('::').join('.');
run_subtask($.obj_dir.IO.append("CLRBackend.exe"),
$.obj_dir, $fname ~ ".nam", $fname ~ ($main ?? ".exe" !! ".dll"),
$main ?? "1" !! "0");
}
method run($name) {
my $fname = $name.split('::').join('.');
run_subtask($.obj_dir.IO.append($fname ~ ".exe"), @$.run_args);
}
Jump to Line
Something went wrong with that request. Please try again.