Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6924

drools-lsp : Update DRL parser to Antlr4 : 1st round

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.69.0.Final
    • LSP
    • None
    • 2022 Week 17-19 (from Apr 25), 2022 Week 20-22 (from May 16), 2022 Week 23-25 (from Jun 6), 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8), 2022 Week 35-37 (from Aug 29), 2022 Week 38-40 (from Sept 19), 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27), 2023 Week 12-14 (from Mar 20), 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24), 2023 Week 33-35 (from Aug 14), 2023 Week 36-38 (from Sep 4), 2023 Week 24-26 (from Jun 12)
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:

      Implement a new DRL parser based on Antlr4

      Acceptance Criteria:

      Able to pass existing drools unit tests:

      Out of Scope:

      Not yet integrate with drools core. This JIRA's scope stays in drools-lsp repository

      Additional Information:

      • Start with porting RuleParserTest (under drools-test-coverage).
      • Consider further unit tests to port
      • We may finish this JIRA as "1st round" (e.g. good enough for drl editor) and then continue with another JIRA for compatibility with edge cases

          1.
          Enhance test/grammar coverage : andRestriction, orRestriction Sub-task Resolved Major Toshiya Kobayashi
          2.
          Fully port RuleParserTest as MiscDRLParserTest with @Disabled and priority comment Sub-task Resolved Major Toshiya Kobayashi
          3.
          Failed to parse and/or with parentheses in LHS Sub-task Resolved Major Toshiya Kobayashi
          4.
          Failed to parse binding with || Sub-task Resolved Major Toshiya Kobayashi
          5.
          Failed to parse comments in RHS Sub-task Resolved Major Toshiya Kobayashi
          6.
          Failed to parse complex parentheses Sub-task Resolved Major Toshiya Kobayashi
          7.
          Implement accumulate Sub-task Resolved Major Toshiya Kobayashi
          8.
          Implement BigInteger literal, BigDecimal literal Sub-task Resolved Major Toshiya Kobayashi
          9.
          Implement entry-point declaration Sub-task Resolved Minor Toshiya Kobayashi
          10.
          Implement eval Sub-task Resolved Major Toshiya Kobayashi
          11.
          Implement extends Sub-task Resolved Major Toshiya Kobayashi
          12.
          Implement forall Sub-task Resolved Major Toshiya Kobayashi
          13.
          Implement from collect Sub-task Resolved Major Toshiya Kobayashi
          14.
          Implement from entry-point Sub-task Resolved Major Toshiya Kobayashi
          15.
          Implement import accumulate Sub-task Resolved Major Toshiya Kobayashi
          16.
          Implement memberOf Sub-task Resolved Major Toshiya Kobayashi
          17.
          Implement not memberOf Sub-task Closed Major Toshiya Kobayashi
          18.
          Implement positional constraint Sub-task Resolved Major Toshiya Kobayashi
          19.
          Implement query Sub-task Resolved Major Toshiya Kobayashi
          20.
          Implement semicolon delimiter Sub-task Resolved Major Toshiya Kobayashi
          21.
          Implement sliding window Sub-task Resolved Major Toshiya Kobayashi
          22.
          Implement temporal operators Sub-task Resolved Major Toshiya Kobayashi
          23.
          Implement type declaration Sub-task Resolved Major Toshiya Kobayashi
          24.
          Implement unification Sub-task Resolved Major Toshiya Kobayashi
          25.
          Parse attribute agenda-group Sub-task Resolved Major Toshiya Kobayashi
          26.
          Parse attribute without value Sub-task Resolved Major Toshiya Kobayashi
          27.
          Parse attribute with parentheses Sub-task Resolved Major Toshiya Kobayashi
          28.
          parse nested parentheses Sub-task Resolved Major Toshiya Kobayashi
          29.
          Clean up client/out and client/node_modules Sub-task Closed Major Toshiya Kobayashi

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: