diff options
Diffstat (limited to 'trunk/tool/parse.rb')
-rw-r--r-- | trunk/tool/parse.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/trunk/tool/parse.rb b/trunk/tool/parse.rb deleted file mode 100644 index 6243d7aa8e..0000000000 --- a/trunk/tool/parse.rb +++ /dev/null @@ -1,13 +0,0 @@ -$file = ARGV[0] -$str = ARGF.read.sub(/^__END__.*\z/m, '') -puts '# ' + '-' * 70 -puts "# target program: " -puts '# ' + '-' * 70 -puts $str -puts '# ' + '-' * 70 - -$parsed = RubyVM::InstructionSequence.compile_file($file) -puts "# disasm result: " -puts '# ' + '-' * 70 -puts $parsed.disasm -puts '# ' + '-' * 70 |