Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7915618B76 for ; Tue, 18 Aug 2015 04:24:47 +0000 (UTC) Received: (qmail 64752 invoked by uid 500); 18 Aug 2015 04:24:47 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 64698 invoked by uid 500); 18 Aug 2015 04:24:47 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 64644 invoked by uid 500); 18 Aug 2015 04:24:46 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 64641 invoked by uid 99); 18 Aug 2015 04:24:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 04:24:46 +0000 Date: Tue, 18 Aug 2015 04:24:46 +0000 (UTC) From: "Dilip Ramesh (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-2597) Move grunt from javacc to ANTLR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)