From: Ryan Davis Date: 2010-12-13T09:18:20+09:00 Subject: [ruby-core:33697] Re: Towards a standardized AST for Ruby code On Dec 12, 2010, at 07:55 , Magnus Holm wrote: > ## Suggested plan > > 1. Design and standardize an AST together with a test suite (based on > current parsers' test suites) > 2. Write converters for all the parsers above > 3. Provide a gem with all of the converters which automatically > chooses the best internal parser on each implementation. > 4. Make sure everyone targets this meta-parser instead of custom AST > provided by other parsers. > 5. *If* this gets traction, each implementation can *then* provide > their own Ruby::Parser class and we can slowly deprecate the gem. I think that's a good plan. I've been considering namespacing RP into Ruby::. Then it could be easy to adopt that for most implementations.