Skip to content

Commit

Permalink
* tentatively add Perl 6 (as pool).
Browse files Browse the repository at this point in the history
Fixes mame#72.
  • Loading branch information
mame committed May 2, 2016
1 parent 06d1c7a commit b3e263d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/code-gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def code
end

class Perl < CodeGen
#Name = "Perl 5"
File = "QR.pl"
Cmd = "perl QR.pl > OUTFILE"
Apt = "perl"
Expand Down Expand Up @@ -192,6 +193,15 @@ def code
end
end

# pool
#class Perl6 < CodeGen
# Name = "Perl 6"
# File = "QR.pl6"
# Cmd = "perl6 QR.pl6 > OUTFILE"
# Apt = "rakudo"
# Code = %q("print"+E[PREV])
#end

class Pascal < CodeGen
File = "QR.pas"
Cmd = "fpc QR.pas && ./QR > OUTFILE"
Expand Down

0 comments on commit b3e263d

Please sign in to comment.