Project successes:
- Project is building and generating grammars for both Groovy and Java
- Groovy grammar is now defining all tokens explicitly as ANTLR3 is not generating LITERAL_name
- I've removed all not working rules from Groovy file so it's at least building and allowing you to run compiler
- Fixed almost all problems in Java code, most problems were connected to missing interface GroovyTokenTypes as this isn’t generated by ANTLR anymore so I've used instead GroovyLexer
- I've created base class for parser so ANTLR grammar file is a now a bit cleaner
- I've incorporated changes connected to ANTLR runtime changes so now we have GroovyTreeAdaptor and associated classes
- I've tried to move code associated to custom node creation but it is still work in progress (I want to start with compilationUnit, annotations and package definition)
- I've updated Java 2 Groovy converter, but I couldn’t find all necessary rules in Java grammar
- ASTFrame is working, but as compilation unit is not available yet it's not displaying tree
Project challenges:
- Remove reference to antlr3 jar from bootstraper (couldn't run the one downloaded from maven)
- The grammar is still not working even with simple scripts and this is major challenge after that it should be easier to port the rest of rules
Lidia