Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 35207f814d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (15 sloc) 0.317 kb
#!/bin/env ruby
class Hematite
def initialize file
File.open(file, "r") do |input|
File.open(file.gsub(".hm", ".rb"), "w") do |output|
input.each do |line|
output.write line.gsub("putStrLn", "puts")
end
end
end
end
end
ARGV.each do |arg|
Hematite.new arg
end
Jump to Line
Something went wrong with that request. Please try again.