🕷 software releases

by ryan davis



sitemap

ruby2c version 1.1.0 has been released!

Published 2019-09-24 @ 20:04

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.1.0 / 2019-09-24

  • 4 minor enhancements:

    • Pushed @@array_types and array_type? up to Sexp (in typed_sexp.rb).
    • Pushed down @@array_types and #array_type? from Sexp to TypedSexp.
    • Renamed Type to CType
    • Renamed TypedSexp#sexp_type to c_type to resolve conflict/confusion w/ Sexp.
  • 6 bug fixes:

    • Fixed a test file randomization error (yay!) by requiring typed_sexp in rewriter.
    • Fixed inspect/pretty_print to include line number for typed sexps, just like sexps.
    • Fixed new ruby 2.5 warnings.
    • Fixes for changes to sexp_processor, centered aroud maintaining c_type.
    • Got working with ruby 2.5 parser.
    • Removed obsolete attrset test
  • home: https://github.com/seattlerb/ruby_to_c
  • rdoc: http://ruby2c.rubyforge.org/ruby2c