tkobayas commented on PR #6219: URL: https://github.com/apache/incubator-kie-drools/pull/6219#issuecomment-2594788510
Hi @mariofusco @lucamolteni @baldimir @gitgabrio @mdproctor @porcelli This PR is a draft implementation of "Custom Operator with a special prefix" mentioned in "Slim down DRL syntax with New Antlr4 Parser". https://docs.google.com/document/d/1P6DuBGRNzz5JCOQvPOngyvrqzat2F0QOt0s1VNwFVE0/edit?tab=t.0 Here I use `##` as a prefix for Custom Operator. Some points: - I cannot find a single character which is suitable for this purpose (for example, `#` is used for subtype cast), so I chose `##`. Do you think of any other good candidates? - The fixes for `isA` in `drools-traits` test cases a little annoying. If I add `isA` to DRLLexer.g4 as builtInOperator, we don't need to fix the test cases. Shall I do it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
