Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.508 kb
use NieczaBackendNAM;
class NieczaBackendClisp is NieczaBackendNAM;
# XXX XXX .NET doesn't seem to have any real spawnl functionality,
# only system
sub run_command($cmd, $args) {
Q:CgOp { (rnull (rawscall Builtins,Kernel.RunSubtask (obj_getstr {$cmd}) (obj_getstr {$args}))) };
}
method post_save($name, :$main) {
# None needed; run does all the work
}
method run($name) {
my $fname = $name.split('::').join('.');
run_command("clisp", "cl-backend/backend.lisp obj/" ~ $fname ~ ".nam");
}
Jump to Line
Something went wrong with that request. Please try again.