RubyForge Project News
http://rubyforge.org
RubyForge Project News HighlightsParseTree - ruby parse tree tools:ruby_parser 2.0.4 Released
http://rubyforge.org/forum/forum.php?forum_id=34229
ruby_parser version 2.0.4 has been released!
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
racc--which does by default use a C extension). RP's output is
the same as ParseTree's output: s-expressions using ruby's arrays and
base types.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
s(:defn, :conditional1,
s(:args, :arg1),
s(:scope,
s(:block,
s(:if,
s(:call, s(:lvar, :arg1), :==, s(:arglist, s(:lit, 0))),
s(:return, s(:lit, 1)),
nil),
s(:return, s(:lit, 0)))))
Changes:
### 2.0.4 / 2009-08-18
* 1 minor enhancement:
* Changed requires around to be more accurate.
* 4 bug fixes:
* Fixed .autotest for minitest
* Fixed emacs escape lexing bug: "\C-\\" (maglev/gemstone)
* Fixed octal lexing edgecases. (maglev/gemstone)
* Fixed regexp lexing edgecases. (maglev/gemstone)ParseTree - ruby parse tree toolsRyan Davis2009-08-19T09:03:44+00:00ParseTree - ruby parse tree tools:sexp_processor 3.0.3 Released
http://rubyforge.org/forum/forum.php?forum_id=34209
sexp_processor version 3.0.3 has been released!
sexp_processor branches from ParseTree bringing all the generic sexp
processing tools with it. Sexp, SexpProcessor, Environment, etc... all
for your language processing pleasure.
Changes:
### 3.0.3 / 2009-08-14
* 1 minor enhancement:
* Pulled #mass up from flog/flayParseTree - ruby parse tree toolsRyan Davis2009-08-14T05:26:40+00:00ParseTree - ruby parse tree tools:ruby_parser 2.0.3 Released
http://rubyforge.org/forum/forum.php?forum_id=33281
ruby_parser version 2.0.3 has been released!
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
racc--which does by default use a C extension). RP's output is
the same as ParseTree's output: s-expressions using ruby's arrays and
base types.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
s(:defn, :conditional1,
s(:args, :arg1),
s(:scope,
s(:block,
s(:if,
s(:call, s(:lvar, :arg1), :==, s(:arglist, s(:lit, 0))),
s(:return, s(:lit, 1)),
nil),
s(:return, s(:lit, 0)))))
Changes:
### 2.0.3 / 2009-06-23
* 4 minor enhancements:
* Removed dead code handling d/regex match node cruft.
* Switched to minitest
* Updated .autotest and rakefile wrt rcov for new hoe capabilities
* Updated hoe for new capabilities
* 4 bug fixes:
* Environment#all now deals with strange edge cases in RAD.
* Fixed packaging/compilation issue.
* Minor 1.9 fixes
* hoe -> flay -> rubyparser rakefile circularity fixedParseTree - ruby parse tree toolsRyan Davis2009-06-26T07:08:57+00:00ParseTree - ruby parse tree tools:sexp_processor 3.0.2 Released
http://rubyforge.org/forum/forum.php?forum_id=33279
sexp_processor version 3.0.2 has been released!
sexp_processor branches from ParseTree bringing all the generic sexp
processing tools with it. Sexp, SexpProcessor, Environment, etc... all
for your language processing pleasure.
Changes:
### 3.0.2 / 2009-06-23
* 2 minor enhancements:
* Pulled unique.rb from ParseTree to sexp_processor.
* Switched to minitest.ParseTree - ruby parse tree toolsRyan Davis2009-06-26T07:08:56+00:00ParseTree - ruby parse tree tools:ParseTree 3.0.4 Released
http://rubyforge.org/forum/forum.php?forum_id=33280
ParseTree version 3.0.4 has been released!
ParseTree is a C extension (using RubyInline) that extracts the parse
tree for an entire class or a specific method and returns it as a
s-expression (aka sexp) using ruby's arrays, strings, symbols, and
integers.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
[:defn,
:conditional1,
[:scope,
[:block,
[:args, :arg1],
[:if,
[:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]],
[:return, [:lit, 1]],
nil],
[:return, [:lit, 0]]]]]
Changes:
### 3.0.4 / 2009-06-23
* 4 minor enhancements:
* Pulled unique.rb from ParseTree to sexp_processor.
* Switched to minitest
* UnifiedRuby strips flip2 back down to expected values
* Updated Rakefile for new hoe
* 2 bug fixes:
* 1.8.6p287 & 1.8.7 changed flip2 with fixnum start. fixed
* 1.8.6p287 & 1.8.7 removed the begin node. fixed.ParseTree - ruby parse tree toolsRyan Davis2009-06-26T07:08:56+00:00ParseTree - ruby parse tree tools:ruby_parser 2.0.2 Released
http://rubyforge.org/forum/forum.php?forum_id=29842
ruby_parser version 2.0.2 has been released!
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
racc--which does by default use a C extension). RP's output is
the same as ParseTree's output: s-expressions using ruby's arrays and
base types.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
s(:defn, :conditional1,
s(:args, :arg1),
s(:scope,
s(:block,
s(:if,
s(:call, s(:lvar, :arg1), :==, s(:arglist, s(:lit, 0))),
s(:return, s(:lit, 1)),
nil),
s(:return, s(:lit, 0)))))
Changes:
### 2.0.2 / 2009-01-20
* 2 minor enhancements:
* Added gauntlet_rubyparser plugin. YAY for easy massive bug-hunting.
* Promoted Sexp's file/line/comments to sexp_processor.
* 4 bug fixes:
* Fixed and improved the readme
* Fixed lexing heredoc newlines.
* Fixed line numbers on defns.
* Fixed rdoc generation bug pointed out by hugh sasse (who rocks)ParseTree - ruby parse tree toolsRyan Davis2009-01-22T08:25:12+00:00ParseTree - ruby parse tree tools:sexp_processor 3.0.1 Released
http://rubyforge.org/forum/forum.php?forum_id=29841
sexp_processor version 3.0.1 has been released!
sexp_processor branches from ParseTree bringing all the generic sexp
processing tools with it. Sexp, SexpProcessor, Environment, etc... all
for your language processing pleasure.
Changes:
### 3.0.1 / 2009-01-20
* 3 minor enhancements:
* Filled out README
* Promoted file/line/comments from ruby_parser.
* Added sexp_type to compliment sexp_body.ParseTree - ruby parse tree toolsRyan Davis2009-01-22T08:25:04+00:00ParseTree - ruby parse tree tools:ParseTree 3.0.3 Released
http://rubyforge.org/forum/forum.php?forum_id=29840
ParseTree version 3.0.3 has been released!
ParseTree is a C extension (using RubyInline) that extracts the parse
tree for an entire class or a specific method and returns it as a
s-expression (aka sexp) using ruby's arrays, strings, symbols, and
integers.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
[:defn,
:conditional1,
[:scope,
[:block,
[:args, :arg1],
[:if,
[:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]],
[:return, [:lit, 1]],
nil],
[:return, [:lit, 0]]]]]
Changes:
### 3.0.3 / 2009-01-20
* 4 bug fixes:
* Added gauntlet_parsetree.rb. Bug finding/fixing much faster & easier now.
* Fixed alias tests for r2r. Added masgn and heredoc tests.
* Fixed conflicting flags (-u vs -r).
* Unwrap RHS from array IF it is only a splat node.ParseTree - ruby parse tree toolsRyan Davis2009-01-22T08:24:06+00:00ParseTree - ruby parse tree tools:ParseTree 3.0.2 Released
http://rubyforge.org/forum/forum.php?forum_id=28204
ParseTree version 3.0.2 has been released!
ParseTree is a C extension (using RubyInline) that extracts the parse
tree for an entire class or a specific method and returns it as a
s-expression (aka sexp) using ruby's arrays, strings, symbols, and
integers.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
[:defn,
:conditional1,
[:scope,
[:block,
[:args, :arg1],
[:if,
[:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]],
[:return, [:lit, 1]],
nil],
[:return, [:lit, 0]]]]]
Changes:
### 3.0.2 / 2008-11-04
* 1 minor enhancement:
* parse_tree_show now defaults to unified, added -U to UNunify output.
* 4 bug fixes:
* UnifiedRuby#rewrite_defn kinda sorta deals with cfunc now. Stupid rails.
* Fixed ambiguities in splatted nodes in a bunch of contexts.
* Fixed 1 arg form of parse_tree_for_proc
* KNOWN ISSUE: 0 arg form (||) of parse_tree_for_proc segfaults.ParseTree - ruby parse tree toolsRyan Davis2008-11-07T02:33:57+00:00ParseTree - ruby parse tree tools:ruby_parser 2.0.1 Released
http://rubyforge.org/forum/forum.php?forum_id=28205
ruby_parser version 2.0.1 has been released!
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
racc--which does by default use a C extension). RP's output is
the same as ParseTree's output: s-expressions using ruby's arrays and
base types.
Changes:
### 2.0.1 / 2008-11-04
* 2 minor enhancements:
* Updated for changes to splat node in many contexts.
* Made PT a developer depParseTree - ruby parse tree toolsRyan Davis2008-11-04T11:41:21+00:00