Skip to content

Update grammars to the latest #52

@tkobayas

Description

@tkobayas

.g4 grammars were merged to https://github.com/apache/incubator-kie-drools main branch. It will be included in 10.1.0 release (not a default parser).

At the moment, we can copy the .g4 grammar files to our drools-parser module, and probably remove some tests because they are already tested on incubator-kie-drools.

When 10.1.0 will be released, we may be able to simply add a dependency drools-drl-parser to our drools-completion module. Note: it may worth consider if it's better to have the .g4 grammar files even after 10.1.0, so that we can customize further e.g. RHS syntax is not required in drools-drl-parser, so not implemented, but Editor would want to have more detailed support like modify ($p) {} syntax.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions