Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO-NOT-MERGE] Enable new parser test for CI check in relation to incubator-kie-drools/pull/5989 #5990

Draft
wants to merge 126 commits into
base: main
Choose a base branch
from

Commits on Jun 11, 2024

  1. [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser int… (

    apache#5682)
    
    * add antlr4 based drl parser
    
    * bump to drools 8.16.0.Beta
    
    * improve node position discovery
    
    * first c3 integration
    
    * Module reorganization (#2)
    
    * WIP
    
    * Ignore directories
    
    * Add debug. Minor modifications
    
    * WIP
    
    * Fix tests - add comments
    
    * manage null ast nodes and fix failing test
    
    * improve drl parser
    
    * Fix basic completion (#4)
    
    * Add Java grammar, fix DRL grammar, simplify token index calculation, remove template code
    
    * Add ignored tokens to completion
    
    Co-authored-by: livio <[email protected]>
    
    * add constraints parsing
    
    * - Added DRLParserWrapper to store errors using DRLErrorListener (#5)
    
    - Added MiscDRLParserTest which is being ported from RuleParserTest to enhance coverage.
    
    * Enhance test/grammar coverage. function import, global, exists, not (#6)
    
    * Enhance test/grammar coverage. and, or, listExpression (#7)
    
    * Enhance test/grammar coverage. matches, single quoted string, escape (#9)
    
    - Introduced drlExpression, drlPrimary, drlLiteral, DRL_STRING_LITERAL
    
    * Enhance test/grammar coverage. dialect, invalid lhs (apache#10)
    
    * Enhance test/grammar coverage. keyword collision (apache#11)
    
    - Add "DRL_" prefix for DRL keywords for clarification
    
    * Enhance test/grammar coverage. function, attributes, consequence (apache#12)
    
    * Enhance test/grammar coverage. function, attributes, consequence
    - better getText preserving whitespaces
    - resolving WARNs because of overlapping keywords
    
    * - No need to declare duplicate keywords
    
    * Enhance test/grammar coverage. OR, inline map (apache#13)
    
    * OpenRewrite applied for junit5 and assertj (apache#14)
    
    * Enhance test/grammar coverage. label, consequenceLocation, test refac… (apache#15)
    
    * Enhance test/grammar coverage. label, consequenceLocation, test refactoring, assertj best practice
    
    * - better test method names
    
    * [DROOLS-7253] Review and improve drools-lsp parser Visitor design (apache#16)
    
    * [DROOLS-7253] Review and improve drools-lsp parser Visitor design
    - Remove currentConstructStack. Utilize return object instead.
    
    * - Remove instance fields. Utilize return objects instead.
    
    * [DROOLS-7270] Enhance test/grammar coverage : andRestriction, orRestriction (#4)
    
    - Removed some unused cast
    
    * [DROOLS-7271] Fully port RuleParserTest as MiscDRLParserTest with @disabled and priority comment (apache#10)
    
    * [DROOLS-7285] Failed to parse and/or with parentheses in LHS (apache#15)
    
    * [DROOLS-7286] Failed to parse binding with || (apache#21)
    
    * [DROOLS-7287] Failed to parse comments in RHS (apache#23)
    
    * [DROOLS-7287] Failed to parse comments in RHS
    
    * - add rhs string check
    
    * [DROOLS-7515] Parser : Accept plain text in RHS (apache#26)
    
    * [DROOLS-7515] Parser : Accept plain text in RHS
    
    * - Handle keyword token in RHS
    
    * - Removed sysout
    
    * - Revert statementKeywords. Instead, define DRL_END with newline or EOF
    
    * - fix method name
    
    * [DROOLS-7288] Failed to parse complex parentheses (apache#27)
    
    * [DROOLS-7288] Failed to parse complex parentheses
    - bump to 8.43.0.Final
    
    * additional tests
    
    * [DROOLS-7289] Implement accumulate (apache#28)
    
    * [DROOLS-7296] Implement from entry-point (apache#30)
    
    * [DROOLS-7297] Implement import accumulate (apache#29)
    
    * [DROOLS-7290] Implement BigInteger literal, BigDecimal literal (apache#31)
    
    * [DROOLS-7292] Implement eval (apache#32)
    
    * [DROOLS-7293] Implement extends (apache#33)
    
    * [DROOLS-7294] Implement forall (apache#34)
    
    * [DROOLS-7298] Implement memberOf (apache#35)
    
    * [DROOLS-7300] Implement positional constraint (apache#36)
    
    * [DROOLS-7304] Implement temporal operators (apache#38)
    
    - Also covers [DROOLS-7303] Implement sliding window
    
    * [DROOLS-7301] Implement query (apache#37)
    
    - Also partially fixes [DROOLS-7302] Implement semicolon delimiter
    
    * [DROOLS-7295] Implement from collect (apache#39)
    
    * [DROOLS-7305] Implement type declaration (apache#40)
    
    - also covers [DROOLS-7291] Implement entry-point declaration
    - also covers window declaration
    
    * [DROOLS-7306] Implement unification (apache#41)
    
    * [DROOLS-7306] Implement unification
    - Also [DROOLS-7307] Parse attribute agenda-group
    
    * [DROOLS-7308] Parse attribute without value
    - Also [DROOLS-7309] Parse attribute with parentheses
    
    * [DROOLS-7310] parse nested parentheses (apache#42)
    
    * [DROOLS-7310] parse nested parentheses
    
    * - Adding code commentes and explanations
    - Adding more nested level tests
    
    * [DROOLS-7577] drools-lsp : Add comments and explanations for drools-p… (apache#43)
    
    * [DROOLS-7577] drools-lsp : Add comments and explanations for drools-parser
    
    * removed syntax examples
    
    * [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools (apache#44)
    
    - Add some methods to call from drools code base
    
    * Move necessary files without any additional modifications
    
    * Update DRL6Expressions.g4 to ANTLR 4 (apache#47)
    
    * Add DescrDumperTest and fix the expression parser grammar (apache#48)
    
    * Add DescrDumperTest
    
    * Fix it
    
    * [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser into drools
    - New parser is migrated in drools-drl/drools-drl-parser with org.drools.drl10.parser package
    - To enable the new parser, run `mvn test -PDRL10`
    - At the moment, we get lots of test failures especially in drools-model/drools-model-codegen and drools-test-coverage/test-compiler-integration
    
    * - License header
    - Revert an inappropriate test edit
    - Removed unnecessary profile
    - Clarify unsupported methods
    - Removed unnecessary bom dependency
    
    ---------
    
    Co-authored-by: mariofusco <[email protected]>
    Co-authored-by: Gabriele Cardosi <[email protected]>
    Co-authored-by: Livio Benčik <[email protected]>
    Co-authored-by: livio <[email protected]>
    Co-authored-by: Jiří Locker <[email protected]>
    6 people committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    9f48f0f View commit details
    Browse the repository at this point in the history
  2. Revert "[DROOLS-7591] Experiment branch : migrate a new drools-lsp pa…

    …rser int…" (apache#5689)
    
    This reverts commit 3699d67.
    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    4d20c37 View commit details
    Browse the repository at this point in the history
  3. add antlr4 based drl parser

    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    0d54513 View commit details
    Browse the repository at this point in the history
  4. bump to drools 8.16.0.Beta

    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    9bc7188 View commit details
    Browse the repository at this point in the history
  5. improve node position discovery

    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b309bdd View commit details
    Browse the repository at this point in the history
  6. first c3 integration

    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    300fb05 View commit details
    Browse the repository at this point in the history
  7. Module reorganization (#2)

    * WIP
    
    * Ignore directories
    
    * Add debug. Minor modifications
    
    * WIP
    
    * Fix tests - add comments
    gitgabrio authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    30ae2c6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ab19cb7 View commit details
    Browse the repository at this point in the history
  9. improve drl parser

    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a6f631d View commit details
    Browse the repository at this point in the history
  10. Fix basic completion (#4)

    * Add Java grammar, fix DRL grammar, simplify token index calculation, remove template code
    
    * Add ignored tokens to completion
    
    Co-authored-by: livio <[email protected]>
    2 people authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    5ff116d View commit details
    Browse the repository at this point in the history
  11. add constraints parsing

    mariofusco authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    42b893e View commit details
    Browse the repository at this point in the history
  12. - Added DRLParserWrapper to store errors using DRLErrorListener (#5)

    - Added MiscDRLParserTest which is being ported from RuleParserTest to enhance coverage.
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    c936ed7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bad33de View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    80cede2 View commit details
    Browse the repository at this point in the history
  15. Enhance test/grammar coverage. matches, single quoted string, escape (#9

    )
    
    - Introduced drlExpression, drlPrimary, drlLiteral, DRL_STRING_LITERAL
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    1adc7ca View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6009ccf View commit details
    Browse the repository at this point in the history
  17. Enhance test/grammar coverage. keyword collision (apache#11)

    - Add "DRL_" prefix for DRL keywords for clarification
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    bdbd59e View commit details
    Browse the repository at this point in the history
  18. Enhance test/grammar coverage. function, attributes, consequence (apa…

    …che#12)
    
    * Enhance test/grammar coverage. function, attributes, consequence
    - better getText preserving whitespaces
    - resolving WARNs because of overlapping keywords
    
    * - No need to declare duplicate keywords
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    6e7e3a9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    98ca5ba View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    30d16ec View commit details
    Browse the repository at this point in the history
  21. Enhance test/grammar coverage. label, consequenceLocation, test refac… (

    apache#15)
    
    * Enhance test/grammar coverage. label, consequenceLocation, test refactoring, assertj best practice
    
    * - better test method names
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    0257be5 View commit details
    Browse the repository at this point in the history
  22. [DROOLS-7253] Review and improve drools-lsp parser Visitor design (ap…

    …ache#16)
    
    * [DROOLS-7253] Review and improve drools-lsp parser Visitor design
    - Remove currentConstructStack. Utilize return object instead.
    
    * - Remove instance fields. Utilize return objects instead.
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    57e60dc View commit details
    Browse the repository at this point in the history
  23. [DROOLS-7270] Enhance test/grammar coverage : andRestriction, orRestr…

    …iction (#4)
    
    - Removed some unused cast
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    20d4e90 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b1e31dd View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    cfcc06c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    b664cc3 View commit details
    Browse the repository at this point in the history
  27. [DROOLS-7287] Failed to parse comments in RHS (apache#23)

    * [DROOLS-7287] Failed to parse comments in RHS
    
    * - add rhs string check
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    9b9f450 View commit details
    Browse the repository at this point in the history
  28. [DROOLS-7515] Parser : Accept plain text in RHS (apache#26)

    * [DROOLS-7515] Parser : Accept plain text in RHS
    
    * - Handle keyword token in RHS
    
    * - Removed sysout
    
    * - Revert statementKeywords. Instead, define DRL_END with newline or EOF
    
    * - fix method name
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    5be971d View commit details
    Browse the repository at this point in the history
  29. [DROOLS-7288] Failed to parse complex parentheses (apache#27)

    * [DROOLS-7288] Failed to parse complex parentheses
    - bump to 8.43.0.Final
    
    * additional tests
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b199302 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    246ab9f View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    4e54ae8 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    20e7bc2 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c3d7b43 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    47c7fe0 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    424a157 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    45f12e3 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    8eae710 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b41571e View commit details
    Browse the repository at this point in the history
  39. [DROOLS-7304] Implement temporal operators (apache#38)

    - Also covers [DROOLS-7303] Implement sliding window
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a1cd58c View commit details
    Browse the repository at this point in the history
  40. [DROOLS-7301] Implement query (apache#37)

    - Also partially fixes [DROOLS-7302] Implement semicolon delimiter
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    224ee2f View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    fe24e25 View commit details
    Browse the repository at this point in the history
  42. [DROOLS-7305] Implement type declaration (apache#40)

    - also covers [DROOLS-7291] Implement entry-point declaration
    - also covers window declaration
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    cf17979 View commit details
    Browse the repository at this point in the history
  43. [DROOLS-7306] Implement unification (apache#41)

    * [DROOLS-7306] Implement unification
    - Also [DROOLS-7307] Parse attribute agenda-group
    
    * [DROOLS-7308] Parse attribute without value
    - Also [DROOLS-7309] Parse attribute with parentheses
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    0e17748 View commit details
    Browse the repository at this point in the history
  44. [DROOLS-7310] parse nested parentheses (apache#42)

    * [DROOLS-7310] parse nested parentheses
    
    * - Adding code commentes and explanations
    - Adding more nested level tests
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    1ad6eb4 View commit details
    Browse the repository at this point in the history
  45. [DROOLS-7577] drools-lsp : Add comments and explanations for drools-p… (

    apache#43)
    
    * [DROOLS-7577] drools-lsp : Add comments and explanations for drools-parser
    
    * removed syntax examples
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    6f64320 View commit details
    Browse the repository at this point in the history
  46. [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser int…

    …o drools (apache#44)
    
    - Add some methods to call from drools code base
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    15c3f5d View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    8451292 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    3703556 View commit details
    Browse the repository at this point in the history
  49. Add DescrDumperTest and fix the expression parser grammar (apache#48)

    * Add DescrDumperTest
    
    * Fix it
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    1983875 View commit details
    Browse the repository at this point in the history
  50. [DROOLS-7591] Experiment branch : migrate a new drools-lsp parser int…

    …o drools
    
    - New parser is migrated in drools-drl/drools-drl-parser with org.drools.drl10.parser package
    - To enable the new parser, run `mvn test -PDRL10`
    - At the moment, we get lots of test failures especially in drools-model/drools-model-codegen and drools-test-coverage/test-compiler-integration
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    dd3402a View commit details
    Browse the repository at this point in the history
  51. - License header

    - Revert an inappropriate test edit
    - Removed unnecessary profile
    - Clarify unsupported methods
    - Removed unnecessary bom dependency
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b1563ee View commit details
    Browse the repository at this point in the history
  52. [incubator-kie-drools#5681] Experiment: New DRL Parser : Test failure… (

    apache#5693)
    
    * [incubator-kie-drools#5681] Experiment: New DRL Parser : Test failure : Unknown language level
    - Revert the introduction of LanguageLevelOption.DRL10. Use DRL6 as usual. Instead, intorduced system property "drools.drl.antlr4.parser.enabled" for parser impl switch
    - Use a package name 'antlr4' instead of 'drl10' for the new parser separation
    
    * - Enable the new parser by default so that CI can run
    - Also suppress some GHAs which don't run with a feature branch
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    1efe247 View commit details
    Browse the repository at this point in the history
  53. [incubator-kie-drools#5679] New DRL parser : Test failure : RHS end w…

    …ithout preceding white-space (apache#5698)
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    629b3eb View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    ece43d2 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    c805b14 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    7e60b10 View commit details
    Browse the repository at this point in the history
  57. Fix minor issues in the new parser (apache#5747)

    * Add missing `@Test` annotation
    
    * Fix a typo in method name
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    d0bfc9e View commit details
    Browse the repository at this point in the history
  58. [incubator-kie-drools#5743] Update Developer_Notes.md to be community… (

    apache#5751)
    
    * [incubator-kie-drools#5743] Update Developer_Notes.md to be community-friendly
    
    * Update drools-drl/drools-drl-parser/Developer_Notes.md
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser/Developer_Notes.md
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * - Add Design notes
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b099dc2 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    b184788 View commit details
    Browse the repository at this point in the history
  60. [incubator-kie-drools#5705] [new-parser] no viable alternative after … (

    apache#5767)
    
    * [incubator-kie-drools#5705] [new-parser] no viable alternative after contains operator
    
    * - Add comment
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * - add javadoc to ParserHelper.isPluggableEvaluator
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    2cc9f10 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    0e4f2af View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    e52b30c View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    c0004f3 View commit details
    Browse the repository at this point in the history
  64. Primary rule should accept this keyword (apache#5791)

    As in `String(this == "x")`.
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    3a7d63c View commit details
    Browse the repository at this point in the history
  65. [incubator-kie-drools#5706] Grouped accessors for nested objects brok…

    …en (apache#5790)
    
    * [incubator-kie-drools#5706] Grouped accessors for nested objects broken
    
    * Update drools-drl/drools-drl-parser/src/main/java/org/drools/drl/parser/antlr4/DRLVisitorImpl.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    2a4d9dc View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    8ec4736 View commit details
    Browse the repository at this point in the history
  67. [incubator-kie-drools#5708] [new-parser] function definition causes a… (

    apache#5793)
    
    * [incubator-kie-drools#5708] [new-parser] function definition causes an error
    
    * - enhance getTextPreservingWhitespace to avoid string manipulation
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    dade6eb View commit details
    Browse the repository at this point in the history
  68. [new-parser] Support LHS pattern annotations (apache#5797)

    * LHS patterns can have annotations
    
    * LHS pattern annotations can contain chunks
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    906e260 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    3b527eb View commit details
    Browse the repository at this point in the history
  70. Enable time literal (apache#5800)

    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    76e045a View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    0a6a4b4 View commit details
    Browse the repository at this point in the history
  72. Fix window reference (apache#5802)

    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    2ce9b0a View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    5382e8a View commit details
    Browse the repository at this point in the history
  74. [incubator-kie-drools#5711] Broken OOPath expressions (apache#5805)

    * [incubator-kie-drools#5711] Broken OOPath expressions
    
    * accept mixing OOPath and standard constraint
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    13289f9 View commit details
    Browse the repository at this point in the history
  75. [incubator-kie-drools#5742] [new-parser] Broken inline cast (apache#5806

    )
    
    * [incubator-kie-drools#5742] [new-parser] Broken inline cast
    
    * fixed duplicate test
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    8b252d4 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    b72316a View commit details
    Browse the repository at this point in the history
  77. [new-parser] Complete support for built-in operators (after, before) (a…

    …pache#5812)
    
    * Improve no viable alternative example
    
    * Complete support for built-in operators
    
    * Enable soundslike test
    
    * Remove obsolete comment
    
    Co-authored-by: Toshiya Kobayashi <[email protected]>
    
    ---------
    
    Co-authored-by: Toshiya Kobayashi <[email protected]>
    yurloc and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    49c7774 View commit details
    Browse the repository at this point in the history
  78. [new-parser] Fix two minor type declaration issues (apache#5815)

    * Allow semicolon after type declaration end
    
    * Allow DRL keywords to be used as field names in type declarations
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b575dd9 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    235f3b1 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    9dfc31d View commit details
    Browse the repository at this point in the history
  81. [incubator-kie-drools-5798] [new-parser] Ensure Descr properties (apa…

    …che#5827)
    
    * [incubator-kie-drools-5798] [new-parser] Ensure Descr properties
    
    * [incubator-kie-issues#5798] Proposal
    
    * minor fix
    
    ---------
    
    Co-authored-by: Gabriele-Cardosi <[email protected]>
    tkobayas and Gabriele-Cardosi committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    97e5035 View commit details
    Browse the repository at this point in the history
  82. [incubator-kie-drools-5716] [new-parser] mismatched input 'if'/'do' (… (

    apache#5831)
    
    * [incubator-kie-drools-5716] [new-parser] mismatched input 'if'/'do' (support named consequences)
    
    * Update drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4/DRLLexer.g4
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser/src/main/java/org/drools/drl/parser/antlr4/DRLVisitorImpl.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * resolve duplicate difinition
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    38cc15b View commit details
    Browse the repository at this point in the history
  83. [new-parser] Support pluggable evaluators and class literal (apache#5834

    )
    
    * Support isA operator and pluggable evaluators in general
    
    * Support class literals
    
    * Clean up drlPrimary rule
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    ab292bb View commit details
    Browse the repository at this point in the history
  84. [incubator-kie-drools-5808] [new-parser] Combining DRLParser.g4 and D…

    …RL6Expressions.g4 (apache#5845)
    
    * WIP: import DRL6Expressions.g4 into DRLParser.g4
    
    - Removed conflicting rules to make the antlr4 goal successful.
    - Java compilation fails because DRL6Expressions's @members section
      injects a DRL6Expression constructor and method overrides into DRLParser.java.
    
    * [incubator-kie-drools-5808] [new-parser] Combining DRLParser.g4 and DRL6Expressions.g4
    - Modified DRL6Expressions.g4 @members to work with DRLParser
    - Now DRLParser holds ParserHelper
    - Fixed BigDecimal/BigInteger literal issues
    
    * - Reverted some parser rules which are no longer required after DRL6Expressions.g4 import
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    9ce9a54 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    ca3b453 View commit details
    Browse the repository at this point in the history
  86. [incubator-kie-drools-5792] [new-parser] improve drools-drl-parser-te…

    …sts (apache#5855)
    
    * [incubator-kie-drools-5854] [new-parser] improve drools-drl-parser-testsa to test with old and new parsers
    - Old and new parser coverage using 2 surefire test executions
    - Fixed Descr common property issues to keep backward compatibility
    - A few test cases remaining without backward compatibility ("Backward Compatibility Notes" left) because the old parser seems to be wrong.
    - A few expr test cases remaining without backward compatibility ("Backward Compatibility Notes" left). Error code/message don't seem to be important. Also the new parser ones are better.
    
    * Update drools-drl/drools-drl-parser/src/main/java/org/drools/drl/parser/antlr4/LexerHelper.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * - removed unused import
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    703a8cf View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    beed2b5 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    f6a5a1a View commit details
    Browse the repository at this point in the history
  89. [incubator-kie-drools-5714] Broken QueryTest#testRecursiveQueryWithBa… (

    apache#5866)
    
    * [incubator-kie-drools-5714] Broken QueryTest#testRecursiveQueryWithBatchCommand
    
    * removed redandunt slimdown and toString
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    10ad502 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    436fa8e View commit details
    Browse the repository at this point in the history
  91. [new-parser] Fix AccumulateTest and add groupBy support (apache#5876)

    * Fix AccumulateTest
    
    * Add GroupBy support
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    27e30c7 View commit details
    Browse the repository at this point in the history
  92. [incubator-kie-drools-5724] [new-parser] Broken ExisistentialTest#tes… (

    apache#5871)
    
    * [incubator-kie-drools-5724] [new-parser] Broken ExisistentialTest#test2NotsWithAnd
    
    * - Addtional test for LPAREN lhsExpression RPAREN namedConsequenceInvocation?
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    7973ccb View commit details
    Browse the repository at this point in the history
  93. [incubator-kie-drools-5784] Review DRLParser.g4 and DRL6Expressions.g… (

    apache#5875)
    
    * [incubator-kie-drools-5784] Review DRLParser.g4 and DRL6Expressions.g4 to replace IDENTIFIER with drlIdentifier
    
    * - Removed unused methods
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    6f3c0c6 View commit details
    Browse the repository at this point in the history
  94. [new-parser] Allow OOPath as a LHS pattern (apache#5884)

    * Add OOPath support to lhsPattern
    
    * Set namespace and unit properties to PackageDescr children
    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    ac19e9b View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    f55162a View commit details
    Browse the repository at this point in the history
  96. Allow empty queries (apache#5892)

    yurloc authored and tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    bbcb06f View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    d34c2d6 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    e7e9166 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    c52e943 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    1ffa7c4 View commit details
    Browse the repository at this point in the history
  101. [incubator-kie-drools-5879] [new-parser] build failure on kie-dmn-val… (

    apache#5899)
    
    * [incubator-kie-drools-5879] [new-parser] build failure on kie-dmn-validation
    - WIP
    - test case only
    
    * - nongreedy subrule
    
    * - Add tests
    - also fix andRestriction
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    37e945b View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    1a884ef View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    d972f20 View commit details
    Browse the repository at this point in the history
  104. [incubator-kie-drools-5918] [new-parser] Annotations can appear in lh… (

    apache#5921)
    
    * [incubator-kie-drools-5918] [new-parser] Annotations can appear in lhsOr and lhsAnd
    
    * - infix or, and
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    0ad1193 View commit details
    Browse the repository at this point in the history
  105. [incubator-kie-drools-5915] [new-parser] ctx.lhsPattern().size() == 0 (

    …apache#5922)
    
    - Avoid unnecessary IllegalStateException
    - Avoid empty error message
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    2a058bb View commit details
    Browse the repository at this point in the history
  106. [incubator-kie-drools-5908] ReteOOWaltzTest 'end' detection issue (ap…

    …ache#5913)
    
    * [incubator-kie-drools-5908] ReteOOWaltzTest 'end' detection issue
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    880f276 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    dd776b1 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    766d200 View commit details
    Browse the repository at this point in the history
  109. [incubator-kie-drools-5924] [new-parser] Remove DRLIncompleteCodeTest (

    …apache#5941)
    
    * [incubator-kie-drools-5924] [new-parser] Disable DRLIncompleteCodeTest
    
    * Remove editor mode tests
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    e64755a View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    5411e12 View commit details
    Browse the repository at this point in the history
  111. [incubator-kie-drools-5945] [new-parser] Broken named consequences in…

    …side OR (apache#5950)
    
    * Tests for incubator-kie-drools-5945
    
    * [incubator-kie-drools-5945] [new-parser] Broken named consequences inside OR
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    04c54cd View commit details
    Browse the repository at this point in the history
  112. [incubator-kie-drools-5818] [new-parser] Parsing fails if a Java keyw… (

    apache#5958)
    
    * [incubator-kie-drools-5818] [new-parser] Parsing fails if a Java keyword appears in a qualified name
    
    * - Exclude 'new' from 'drlIdentifier' because of 'primary' ambiguity
    - Add tests
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    5e2a896 View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    ef5b3af View commit details
    Browse the repository at this point in the history
  114. [incubator-kie-drools-5909] [new-parser] Accumulate parsed incorrectl… (

    apache#5965)
    
    * [incubator-kie-drools-5909] [new-parser] Accumulate parsed incorrectly if init and action statements are empty
    
    * Update drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/MiscDRLParserTest.java
    
    Co-authored-by: Jiří Locker <[email protected]>
    
    ---------
    
    Co-authored-by: Jiří Locker <[email protected]>
    tkobayas and yurloc committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    fe01bdd View commit details
    Browse the repository at this point in the history
  115. [incubator-kie-drools-5936] [new-parser] || and && should be allowed …

    …as alternatives to infix or and and (apache#5966)
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    65cff36 View commit details
    Browse the repository at this point in the history
  116. [incubator-kie-drools-5938] [new-parser] Tests using wrong duration a… (

    apache#5969)
    
    * [incubator-kie-drools-5938] [new-parser] Tests using wrong duration attribute format
    
    * - Use explicit test value
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    191ffce View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    c6f0b71 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    1cae534 View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    88a3adc View commit details
    Browse the repository at this point in the history
  120. [incubator-kie-drools-5911] [new-parser] Support optional type keywor…

    …d for backward compatibility (apache#5977)
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    e13629a View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    dda4fa5 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    e216b00 View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    8658f7a View commit details
    Browse the repository at this point in the history
  124. Incubator kie drools 5792 cleanup tests (apache#5986)

    * [incubator-kie-drools-5792] cleanup drools-drl-parser-tests
    - Apply open-rewrite JUnit5BestPractices
    
    * - Apply open-rewrite SimplifyChainedAssertJAssertions
    
    * - remove 'parse_' prefix
    - remove unused 'throw Exception'
    
    * - code format
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    aaef430 View commit details
    Browse the repository at this point in the history
  125. [incubator-kie-drools-5988] [new-parser] Merge dev-new-parser to main

    - new parser is disabled by default
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    7da9750 View commit details
    Browse the repository at this point in the history
  126. [DO-NOT-MERGE] Enable new parser test for CI check in relation to inc…

    …ubator-kie-drools/pull/5989
    tkobayas committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    8e508ea View commit details
    Browse the repository at this point in the history