Settings

Theme

Hacking S-expressions into Ruby

sonnym.github.io

31 points by sonnym 11 years ago · 6 comments

Reader

_mikz 11 years ago

` puts RubyVM::InstructionSequence.compile('[]').disasm` points to `newarray` which is YARV instruction: https://github.com/ruby/ruby/blob/ca6b174078fa15f33655be704d...

  • lectrick 11 years ago

    I don't suppose there's a way to hook into newarray ...?

    Maybe a gem with a C component could provide a hook?

lookatparsetree 11 years ago

Have a look at https://github.com/seattlerb/parsetree

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection