>> Which would require the ability to "serialize" proc's.
>> So consider this my feature request.
>
> Short answer: we wish we could. =A0And theoretically speaking it is not
> impossible. =A0But no one have ever been successful.
>
>> First thing that comes to mind would be the ability to translate them
>> into an AST.
>> =A0RubyVM::InstructionSequence.disassemble might be related.
>> Cheers!
>
> A proc is not a code snippet. =A0It is a "closure". =A0To serialize a clo=
sure
> is not a easy job. =A0If you just want to inject a code snippet to anothe=
r
> process, you'd better propose something other than a proc serialization.

Being able to serialize an AST might be a good start/half way measure.

foreign_computer.send ->{ 34+35}.to_ast

or the like.
Cheers!
-r