Skip to content

Instantly share code, notes, and snippets.

@track8
Created March 18, 2015 14:12
Show Gist options
  • Save track8/57925a479b4f0f775425 to your computer and use it in GitHub Desktop.
Save track8/57925a479b4f0f775425 to your computer and use it in GitHub Desktop.
Hello YARV
code = <<END
puts "Hello World!"
END
puts RubyVM::InstructionSequence.compile(code).disasm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment