Skip to content

Instantly share code, notes, and snippets.

@fujidig
Created March 22, 2014 19:18
Show Gist options
  • Select an option

  • Save fujidig/9712724 to your computer and use it in GitHub Desktop.

Select an option

Save fujidig/9712724 to your computer and use it in GitHub Desktop.
c:\Users\user\repos\ruby\mybuild>ruby --disable-gems --dump aaa
ruby: warning: don't know how to dump `aaa',
ruby: warning: but only [version, copyright, usage, yydebug, syntax, parsetree,
parsetree_with_comment, insns].
^Z
c:\Users\user\repos\ruby\mybuild>ruby --disable-gems --dump insns
p :foo
^Z
== disasm: <RubyVM::InstructionSequence:<main>@->=======================
0000 trace 1 ( 1)
0002 putself
0003 putobject :foo
0005 opt_send_simple <callinfo!mid:p, argc:1, FCALL|ARGS_SKIP>
0007 leave
@fujidig
Copy link
Copy Markdown
Author

fujidig commented Mar 22, 2014

nmake parse
というのもある。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment