I'm working on Annotation recently. I've made some modifications of
Method Annotation to make it simpler. The current annotation is like
this.
@RubyLevelClass(name="Fixnum", superclass="Integer")
public class RubyFixnum extends RubyInteger {
@RubyLevelMethod(name="**")
public RubyValue pow(RubyValue v) { ... }
...
}
We don't need tell type of method(no arg, one arg etc.).
RubyTypeFactory can detect method signature to generate different type
implicitly.
I'm trying to apply annotation to builtin to make the code cleaner.
Some of builtin has been completed, e.g. RubyFixnum, RubyBignum etc.
You can read the code as reference if needed.
Ye Zheng
--
Everything is simple!