Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (14 sloc) 0.508 kB
a8e90fd @sorear [v6] Autoconfigure paths from ApplicationBase
authored
1 use NieczaBackendNAM;
2 class NieczaBackendClisp is NieczaBackendNAM;
3
4 # XXX XXX .NET doesn't seem to have any real spawnl functionality,
5 # only system
6 sub run_command($cmd, $args) {
dc92b63 @sorear [v6] Improve timing display, translate NieczaBackendClisp
authored
7 Q:CgOp { (rnull (rawscall Builtins,Kernel.RunSubtask (obj_getstr {$cmd}) (obj_getstr {$args}))) };
a8e90fd @sorear [v6] Autoconfigure paths from ApplicationBase
authored
8 }
9
dc92b63 @sorear [v6] Improve timing display, translate NieczaBackendClisp
authored
10 method post_save($name, :$main) {
a8e90fd @sorear [v6] Autoconfigure paths from ApplicationBase
authored
11 # None needed; run does all the work
12 }
13
dc92b63 @sorear [v6] Improve timing display, translate NieczaBackendClisp
authored
14 method run($name) {
a8e90fd @sorear [v6] Autoconfigure paths from ApplicationBase
authored
15 my $fname = $name.split('::').join('.');
c010820 @pmurias fix the clisp backend
pmurias authored
16 run_command("clisp", "cl-backend/backend.lisp obj/" ~ $fname ~ ".nam");
a8e90fd @sorear [v6] Autoconfigure paths from ApplicationBase
authored
17 }
Something went wrong with that request. Please try again.