[ https://issues.apache.org/jira/browse/PIG-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kyungho Jeon updated PIG-2597: ------------------------------ Attachment: current.08.11.2014.dot.diff Hello all, I am attaching my diff patch so far during GSoC 2014. It's not complete yet. I have implemented {{set}}, {{clear}}, {{help}} commands in ANTLR. It essentially means the commands are implemented in {{QueryParser}}. I am in the middle of implementing {{fs}} command. As {{fs}} accepts parameters and Grunt does not need to check or verify them, I am trying to define a grammar that can accept any parameters after {{fs}}. Another issue is that the newly implemented commands require semicolons after them. This should be fixed soon. My plan for continuing working on this project is as follows: In September, I will 1. Finish the issues in {{fs}} commands 2. Fix the semicolon issue After those issues fixed, we will need to implement {{sh}}, {{run}}, {{exec}}, {{history}}, {{kill}}, and {{quit}}. {{sh}} can be implemented in a similar way as {{fs}}, but implementing remaining commands except for {{sh}} seems to me requires quite a bit of changes. I will plan for them later or after fixing the first two issues. Lastly, thank you so much for letting me participating this program. > Move grunt from javacc to ANTLR > ------------------------------- > > Key: PIG-2597 > URL: https://issues.apache.org/jira/browse/PIG-2597 > Project: Pig > Issue Type: Improvement > Reporter: Jonathan Coveney > Assignee: Daniel Dai > Labels: gsoc2014 > Attachments: current.08.11.2014.dot.diff, pig02.diff > > > Currently, the parser for queries is in ANTLR, but Grunt is still javacc. The > parser is very difficult to work with, and next to impossible to understand > or modify. ANTLR provides a much cleaner, more standard way to generate > parsers/lexers/ASTs/etc, and moving from javacc to Grunt would be huge as we > continue to add features to Pig. > This is a candidate project for Google summer of code 2014. More information > about the program can be found at > https://cwiki.apache.org/confluence/display/PIG/GSoc2014 -- This message was sent by Atlassian JIRA (v6.2#6252)