[
https://issues.apache.org/jira/browse/PIG-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dilip Ramesh updated PIG-2597:
------------------------------
Attachment: 18Aug.diff
I have been working on this for sometime now. Here is my first patch. I have
written the grammar for these commands in ANTLR and have got JavaCC to forward
it to ANTLR:
History
Set
Clear
Help
It ll be great if anyone can go through and comment on this.
Work ahead:
Get QueryParser to take take care of the remaining commands and relieve JavaCC
of these commands. Hope to come up with another patch in the next two weeks.
Thank you [~daijy] for all the help.
> 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)