Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# Used as part of the "make parse" Makefile target.
# See common.mk for details.
$file = ARGV[0]
$str = ARGF.read.sub(/^__END__.*\z/m, '')
puts '# ' + '-' * 70
puts "# target program: "
puts $str
$parsed = RubyVM::InstructionSequence.compile_file($file)
puts "# disasm result: "
puts $parsed.disasm