hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Olston (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-38) abstract PigScript parser
Date Wed, 28 Nov 2007 23:45:42 GMT
abstract PigScript parser

                 Key: PIG-38
                 URL: https://issues.apache.org/jira/browse/PIG-38
             Project: Pig
          Issue Type: Improvement
          Components: grunt
         Environment: grunt and pigpen
            Reporter: Christopher Olston

I am developing Pig Pen, an Eclipse plugin for Pig. Pig Pen needs to parse .pig scripts. The
parsing is the same as for grunt, but the actions I take are different (e.g., Pig Pen will
ignore "store" commands for the purpose of editing).

What I'd like to do is create an abstract class PigScriptParser, which is identical to the
current GruntParser except no actions are taken. Then I'll add a GruntParser that extends
PigScriptParser, and has concrete implementations of actions (e.g., what to do when a "store"
command is encountered).

I'll also add a PigPenParser that also extends PigScriptParser.

This should not affect the behavior of GruntParser at all -- it just separates the parsing
from the actuating.

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

View raw message