Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1618

Switch to new parser generator technology

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. antlr-3.2.jar
          1.84 MB
          Xuefu Zhang
        2. javadoc.patch
          2 kB
          Thejas M Nair
        3. NewParser-1.patch
          37 kB
          Xuefu Zhang
        4. NewParser-10.patch
          50 kB
          Xuefu Zhang
        5. NewParser-11.patch
          61 kB
          Xuefu Zhang
        6. NewParser-12.patch
          12 kB
          Xuefu Zhang
        7. NewParser-13.2.patch
          35 kB
          Thejas M Nair
        8. NewParser-13.patch
          35 kB
          Xuefu Zhang
        9. NewParser-14.patch
          16 kB
          Xuefu Zhang
        10. NewParser-15.patch
          44 kB
          Xuefu Zhang
        11. NewParser-18.patch
          886 kB
          Xuefu Zhang
        12. NewParser-19.3.patch
          965 kB
          Thejas M Nair
        13. NewParser-19.patch
          881 kB
          Xuefu Zhang
        14. NewParser-2.patch
          38 kB
          Xuefu Zhang
        15. NewParser-21.patch
          32 kB
          Xuefu Zhang
        16. NewParser-22.patch
          29 kB
          Xuefu Zhang
        17. NewParser-23.2.patch
          194 kB
          Thejas M Nair
        18. NewParser-23.patch
          185 kB
          Thejas M Nair
        19. NewParser-24.patch
          20 kB
          Xuefu Zhang
        20. NewParser-25.patch
          0.8 kB
          Xuefu Zhang
        21. NewParser-3.patch
          16 kB
          Xuefu Zhang
        22. NewParser-3.patch
          15 kB
          Xuefu Zhang
        23. NewParser-4.patch
          17 kB
          Xuefu Zhang
        24. NewParser-5.patch
          21 kB
          Xuefu Zhang
        25. NewParser-6.patch
          35 kB
          Xuefu Zhang
        26. NewParser-7.patch
          34 kB
          Xuefu Zhang
        27. NewParser-8.patches
          42 kB
          Xuefu Zhang
        28. NewParser-9.patch
          35 kB
          Xuefu Zhang

          Issue Links

            Activity

              People

              • Assignee:
                xuefuz Xuefu Zhang
                Reporter:
                alangates Alan Gates
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: