From: Ryan Davis Date: 2008-04-02T16:30:36+09:00 Subject: Re: command_call in parse.y On Apr 1, 2008, at 16:47 , Adrian Thurston wrote: > Thanks. It would be really nice if I could make use of that test > suite. > So far my internal representation of the parse tree is the concrete > syntax, so I would have to do some extra steps to get an AST and > compare. Take a look at test/pt_testcase.rb in ParseTree... It contains a large tree of tests including input and expected output. ParseTree uses this to test forward in the process. ruby2ruby uses this to go backwards. ruby2c extend the tree and then test off of that. It is pretty easy to extend for whatever you're doing.