jruby - do AST stays at runtime when jrubyc compilation were used? -


is the ruby2ruby compiler, which can restore Ruby code from AST.

I'm curious, if I compile my code with jrubyc, then whoever can evaluate my code inside my running app, he will get AST in my Ruby classes and then Ruby 2 Is it possible to restore the ruby ​​code with RBI?

I am using jruby 1.6.5 in Ruby 1.8 compatibility mode.

As much as I can tell, AST is actually present in any form in the compiled class file, And therefore, at least it is theoretically unbelievable code to run in the same JVM example. In practice, it is probably true that a Java Decompiler can produce similar results similarly.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -