Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (10 sloc) 264 Bytes
#!/usr/bin/env jruby
begin
require 'bitescript'
rescue LoadError
$: << File.dirname(File.dirname(__FILE__)) + '/lib'
require 'bitescript'
end
file = ARGV[0]
raise "usage: bitep <class_name>" unless file
puts BiteScript::ASM::ClassMirror.load(file).inspect