Project update: 8th Week
1) What I achieved last week?
1. Split parser and lexer grammar to separate files allowing easy modifications
2. Fixing problems with current rules but some part are still not working due to missing bits on parser Plugin side.
Missing implementation of GroovyTokenTypes is a bigger problem than I was expecting.
2) What I am working on for the next week?
I'm moving now to java bit of groovy parser as it started to block the possibility of testing exsisting part.
1. Update code based on antlr.collections.AST class to interface org.antlr.runtime.tree.Tree
2. Move code from grammar file to dedicated classes and use superClass attribute
3. antlr.Token to org.antlr.runtime.Token
Once completed it should be possible to remove warnings about missing tokens and create method to create AST.
4. Additionally I want to remove all setType calls as they are not correct anymore.
5. Use RecognitionException with GroovyExceptionInterface
3) Are there any blockers (infrastructure, mentors, holidays, assistance)?
None so far.
Cheers, Lidia