InfoQ

InfoQ

Topic/Tag specific view

ParseTree Content on InfoQ


Latest featured content about ParseTree

Ruby.rewrite(Ruby)

Topics
Ruby,
Dynamic Languages,
Domain Specific Languages,
LISP,
Code Analysis,
Languages,
Compilers,
Debugging,
Profilers,
Programming,
Language,
Language Design,
ParseTree,
RubyFringe,
Language Features

In this RubyFringe talk, Reginald Braithwaite shows how to write Ruby that reads, writes, and rewrites Ruby. The demos include extending the Ruby language with conditional expressions, new forms of evaluation such as call-by-name and call-by-need, and more.

News about ParseTree

Ruby VM Roundup: Ruby 1.9.2 Preview 1, Ruby Versions Site

Topics
JRuby,
Ruby,
Runtimes,
JVM Languages,
Dynamic Languages,
GarbageCollection,
Java,
Languages,
Merb,
Programming,
Performance & Scalability,
Ruby1.9,
Rubinius,
ParseTree

Ruby 1.9.2 Preview 1 is now available and brings API improvements such as Method#parameters, GC optimization for long lived objects, and more. Also: to keep up to speed with Ruby implementations, David A. Black announced ruby-versions.net which provides a long list of MRI versions as well as JRuby, Rubinius and REE installations.

The Future of ParseTree

Topics
JRuby,
Ruby,
Runtimes,
JVM Languages,
Java,
Dynamic Languages,
Code Analysis,
Debugging,
Profilers,
Languages,
Programming,
Ruby1.9,
Static Analysis,
ParseTree

The current Ruby 1.9.1 doesn't have the required features to allow ParseTree's runtime features to work - which means some libraries that depend on those features won't work. Examples are Merb's action arguments or heckle. We take a look at the state of ParseTree - and how ruby_parser is a possible way out.

RFactor: Ruby Refactoring Support for Text Editors

Topics
Ruby,
Dynamic Languages,
Languages,
Agile Techniques,
IDE,
Programming,
Agile,
IDEs,
RubyGems,
ParseTree,
Refactoring

RFactor is a Ruby refactoring tool that aims to bring automated refactoring support to text editors. We talked to its developer Fabio Kung to learn how it works and what's planned for the future.

Sequel, The Database Toolkit For Ruby

Topics
Ruby on Rails,
JRuby,
Ruby,
JVM Languages,
Dynamic Languages,
Java,
Languages,
Data Access,
ActiveRecord,
Programming,
Database,
ParseTree,
ORM,
Ruby1.9,
Rails

Sequel, apart from being an alternative to ActiveRecord, offers a complete Ruby toolkit to handle database operations. InfoQ had the chance to catch up with Jeremy Evans who replaced Sharon Rosner as project leader eight months ago.

Merb Roundup: Merb 1.0, EngineYard Will Offer Merb Support

Topics
JRuby,
Ruby,
JVM Languages,
Web Frameworks,
Java,
Dynamic Languages,
Languages,
WOA,
Programming,
Architecture,
RubyGems,
Language,
Merb,
ParseTree

Merb 1.0 has been released. Some last minute changes included improved JRuby and Windows support (action arguments support under JRuby). Also: EngineYard announced support for Merb.

Static Analysis Tools Roundup: Roodi, Rufus, Reek, Flay

Topics
Ruby,
Dynamic Languages,
Languages,
Language,
Programming,
Static Analysis,
ParseTree

Ruby_parser, ParseTree, and it's cleaned up output UnifiedRuby, provide access to Ruby source code ASTs. We take a look at four static analysis tools built in plain Ruby: Flay, Roodi, Rufus, Reek.

ParseTree 3.0 Released, Many Related Libraries Updated

Topics
Ruby,
Release,
Version Control,
Dynamic Languages,
Languages,
Source Control,
Programming,
RubyGems,
Static Analysis,
Rubinius,
ParseTree

Ryan Davis announced the release of ParseTree 3.0, as well as an update to related libraries: Ruby2Ruby and Flog. Sexp_processor, the library to write visitors for analyzing parse tree s-exprs was split out as a gem. Also: ruby_parser 2.0, a Ruby parser written in Ruby, was released with many improvements.

MacRuby 0.3 Release Brings Interface Builder Support, HotCocoa for GUI Building

Topics
Ruby,
Runtimes,
Dynamic Languages,
Visual Studio,
Java,
Microsoft,
Languages,
IDE,
.NET,
Programming,
Rich Client / Desktop,
Ruby1.9,
GUI,
Apple,
ParseTree,
Companies

MacRuby 0.3 was released with many improvements, among them support for GUIs built with the InterfaceBuilder. Also: HotCocoa, a Builder-style API for Cocoa GUIs is shipped with the new release of MacRuby.

Using ParseTree for LINQ-style queries and extracting metadata

Topics
Ruby,
Domain Specific Languages,
Code Analysis,
Dynamic Languages,
LISP,
Languages,
Debugging,
Profilers,
Programming,
Merb,
Language,
ParseTree,
Metaprogramming,
LINQ

Whether it's LISP macros or LINQ's expression trees - access to the AST of code is a powerful tool. We look at how ParseTree allows this in Ruby - and how it's being used in libraries like Ambition, Sequel and the web framework Merb.

ruby_parser 1.0: a Ruby Parser written in Ruby

Topics
Ruby,
Runtimes,
Java,
Dynamic Languages,
Compilers,
Languages,
Programming,
ParseTree,
Language,
IDEs,
Rubinius

Parsing Ruby source code has been done in C, Java, C# - and now in Ruby. Ryan Davis, now working at EngineYard on the Rubinius project, just released ruby_parser 1.0.