H
Heesob Park
Hi,
I longed for a ruby byte code compiler.
But I guess YARV is not stable until now.
So I made a very experimental Ruby Compiler.
Actually it is not a true compiler just ruby object dumper and loader.
By modifing gc.c and eval.c , It cannot be distibuted as extension
library.
The main idea is simple.
1. Dump all symbols,ids and node tree to a file.
2. Load the symbols,ids and tree from a file and run.
But I should have spent much time to understand how to parsing and
evalualing
the ruby code.
With this compiler, you can secure your source code.
And saving parsing time is the main advantage.
Even the same object file can runs on Linux and Windows just like Java
class.
What do you think about this compiler?
Regards,
Park Heesob
I longed for a ruby byte code compiler.
But I guess YARV is not stable until now.
So I made a very experimental Ruby Compiler.
Actually it is not a true compiler just ruby object dumper and loader.
By modifing gc.c and eval.c , It cannot be distibuted as extension
library.
The main idea is simple.
1. Dump all symbols,ids and node tree to a file.
2. Load the symbols,ids and tree from a file and run.
But I should have spent much time to understand how to parsing and
evalualing
the ruby code.
With this compiler, you can secure your source code.
And saving parsing time is the main advantage.
Even the same object file can runs on Linux and Windows just like Java
class.
What do you think about this compiler?
Regards,
Park Heesob