You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2015/08/18 06:41:46 UTC

[jira] [Commented] (PIG-2597) Move grunt from javacc to ANTLR

    [ https://issues.apache.org/jira/browse/PIG-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700725#comment-14700725 ] 

Daniel Dai commented on PIG-2597:
---------------------------------

QueryParser is now handling commands with/without semi-colon with the patch, a really good progress! Next step, let's move code from GruntParser to QueryParser gradually, and eventually remove GruntParser all together. 

> 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: 18Aug.diff, 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.3.4#6332)