The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
ruby2c 1.0.0 beta 3 released

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ryan Davis

Posts: 651
Nickname: zenspider
Registered: Oct, 2004

Ryan Davis is a ruby nerd.
ruby2c 1.0.0 beta 3 released Posted: Jun 8, 2005 9:51 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Ryan Davis.
Original Post: ruby2c 1.0.0 beta 3 released
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Ryan Davis
Latest Posts From Polishing Ruby

Advertisement

I just released ruby2c 1.0.0 beta 3! Have at it. Here are the release notes:

Ruby2C provides a pipeline of SexpProcessor classes to work with ParseTree output. Processors included:

  • Rewriter - massages the sexp into a more consistent form.
  • TypeChecker - type inferencer for the above sexps.
  • RubyToC - converts a ruby (subset) sexp to C.

    Remember folks: THIS IS BETA SOFTWARE!

    Changes:

    • 16 minor enhancements:
      • Added ivar and iasgn support. Needs more work.
      • Added limited support for self.
      • Added pipeline tests for bools, call_arglist, call_attrasgn, fbody.
      • Added process_not to RubyToC.
      • Added support for float and symbol literals.
      • Added support for gasgn, cvasgn, const (class consts, not classes).
      • Improved error handling/reporting, esp in RubyToC.
      • In TypeChecker.boostrap, pre-registered all base classes.
      • Modified process_class test to include a class const.
      • Processing :class now adds class constants to the local var scope.
      • Processing :const checks both genv and env now.
      • Rearchitected all tests into a pipeline test class.
      • Rewrite attrasgn into regular calls.
      • Rewrite fbody into a regular defn.
      • Rewrote :array inside call to :arglist.
      • Rewrote :or nodes in process_case to correctly be binary.
    • 1 bug fix:
      • Fixed a bug where single line while bodies were missing a semicolon.
  • Read: ruby2c 1.0.0 beta 3 released

    Topic: Hairside 2 Previous Topic   Next Topic Topic: Cut It Out

    Sponsored Links



    Google
      Web Artima.com   

    Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use