[grammarians] Making it happen

Werner Schuster (murphee) werner.schuster at gmail.com
Wed Oct 25 19:29:18 EDT 2006


Charles Oliver Nutter wrote:
> - Decide on a standard AST structure to be built out of this? (for 
> example, JRuby's AST is starting to differ from Ruby's, so even if we 
> port ParseTree we'll have compatibility issues...so perhaps we 
>   

Actually, I'm currently putting the finishing touches on a JRuby (pure
JRuby, no Java code) version of parsetree
(well, actually something that outputs the same nested lists as the
original parsetree; porting the C code of parsetree isn't possible).

I'm currently trying to get parsetree 1.6s testsuite to complete (50
failures to go) - and I believe there are some places where there are
some differences between JRuby/CRuby ... notably on the :dasgn/:lasgn
AST nodes.  (Mind you: these might just be my own stupid errors).

I can provide a preliminary version if someone wants to, but I'd rather
minimize the number of failures and provide some samples before going
public.

murphee

-- 
Blog @ http://jroller.com/page/murphee 
Maintainer of EclipseShell @ http://eclipse-shell.sourceforge.net/




More information about the Rubygrammar-grammarians mailing list