为了避免这个问题,在Rubinius的虚拟器中,ruby _ parser的Ruby源代码会被编译为Rubinius字节码。当Rubinius启动时,它通过读取ruby _ parser的字节码文件——这些文件不需要进行语法分析——来运行一个ruby语法分析器。
To avoid the chicken-and-egg question "How can a ruby VM work if it's parser is ruby code?" : during the build process of the Rubinius VM, the ruby source code of ruby_parser can be compiled into.
这意味着字节码来自不同的文件。
可以使用一个简单的 GUI 界面或者控制台应用程序来在应用程序类文件上运行字节码增强。
You can either use a simple GUI interface or a console application to run the bytecode enhancements on your application class files.
应用推荐