Skip to content

Commit

Permalink
Fix the place of Julia
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Oct 21, 2019
1 parent 62c8475 commit 8423f58
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/code-gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -431,17 +431,6 @@ class LiveScript < CodeGen
Code = %q("console.log"+Q[E[PREV],?#])
end

class Julia < CodeGen
File = "QR.jl"
Cmd = "julia QR.jl > OUTFILE"
Apt = "julia"
def code
<<-'END'.lines.map {|l| l.strip }.join
%(print("""#{Q[e[PREV]]}"""))
END
end
end

class Ksh_LazyK_Lisaac < CodeGen
Name = ["ksh", "Lazy K", "Lisaac"]
File = ["QR.ksh", "QR.lazy", "qr.li"]
Expand Down Expand Up @@ -489,6 +478,17 @@ def code
end
end

class Julia < CodeGen
File = "QR.jl"
Cmd = "julia QR.jl > OUTFILE"
Apt = "julia"
def code
<<-'END'.lines.map {|l| l.strip }.join
%(print("""#{Q[e[PREV]]}"""))
END
end
end

class JavaScript_Jq_JSFuck < CodeGen
File = ["QR.js", "QR.jq", "QR.jsfuck"]
Cmd = [
Expand Down

0 comments on commit 8423f58

Please sign in to comment.