Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'nom' of https://github.com/rakudo/rakudo into eleven
  • Loading branch information
lizmat committed May 16, 2014
2 parents 5090deb + 8aa5c73 commit 2e87d47
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/core/VM.pm
@@ -1,9 +1,35 @@
class VM does Systemic {
has $.config;
has $.precomp-ext;
has $.precomp-target;

submethod BUILD (:$!name, :$!config) {
$!auth = "unknown";
$!version = Version.new($!config<version> // "unknown");
$!precomp-ext =
#?if parrot
"pir"
#?endif
#?if jvm
"jar"
#?endif
#?if moar
"moarvm"
#?endif
# add new backends here please
;
$!precomp-target =
#?if parrot
"pir"
#?endif
#?if jvm
"jar"
#?endif
#?if moar
"mbc"
#?endif
# add new backends here please
;
}
}

Expand Down

0 comments on commit 2e87d47

Please sign in to comment.