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

Thejas M Nair commented on PIG-1618:
------------------------------------

Unit tests have passed with javadoc.patch . The javadoc warnings were caused by 
absence of antlr jar in javadoc classpath -
{code}
     [exec]   [javadoc] Constructing Javadoc information...
     [exec]   [javadoc] 
/tmp/patchtestthejas/trunk/src/org/apache/pig/parser/QueryParserFileStream.java:23:
 package org.antlr.runtime does not exist
     [exec]   [javadoc] import org.antlr.runtime.ANTLRFileStream;
     [exec]   [javadoc]                         ^
     [exec]   [javadoc] 
/tmp/patchtestthejas/trunk/src/org/apache/pig/parser/QueryParserFileStream.java:29:
 cannot find symbol
     [exec]   [javadoc] symbol: class ANTLRFileStream
     [exec]   [javadoc] public class QueryParserFileStream extends 
ANTLRFileStream {
     [exec]   [javadoc]                                            ^

{code}

> Switch to new parser generator technology
> -----------------------------------------
>
>                 Key: PIG-1618
>                 URL: https://issues.apache.org/jira/browse/PIG-1618
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Alan Gates
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>         Attachments: antlr-3.2.jar, javadoc.patch, NewParser-1.patch, 
> NewParser-2.patch
>
>
> There are many bugs in Pig related to the parser, particularly to bad error 
> messages.  After review of Java CC we feel these will be difficult to address 
> using that tool.  Also, the .jjt files used by JavaCC are hard to understand 
> and maintain.  
> ANTLR is being reviewed as the most likely choice to move to, but other 
> parsers will be reviewed as well.
> This JIRA will act as an umbrella issue for other parser issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to