ruby2c version 1.0.0.8 has been released!
ruby_to_c translates a static ruby subset to C. Hopefully it works.
NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE
THIS IS BETA SOFTWARE!
NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE
RubyToC has the following modules:
- Rewriter - massages the sexp into a more consistent form.
- TypeChecker - type inferencer for the above sexps.
- RubyToRubyC - converts a ruby (subset) sexp to ruby interals C.
- RubyToAnsiC - converts a ruby (subset) sexp to ANSI C.
Changes:
1.0.0.8 / 2012-11-09
-
5 minor enhancements:
- Added TypeChecker methods: rewrite_attrasgn, rewrite_call,
rewrite_defn to reverse structural changes in ruby_parser 3.x. - Added new 1.9 tests from PTTC to skip list
- Added new test case data for new 1.8 based tests
- Added process_arglist_plain and hooked it up with process_iter to
deal with new block sexps. - Renames for ruby_parser namespace changes
- Added TypeChecker methods: rewrite_attrasgn, rewrite_call,
-
4 bug fixes:
- Environment moved in ruby_parser. Got tests running again.
- Fixed all tests broken by 1.8/1.9 split in pt_testcase.rb.
- Removed unused variables listed in 1.9 warnings
- Spastic monkey is spastic