tkobayas commented on issue #5678: URL: https://github.com/apache/incubator-kie-drools/issues/5678#issuecomment-2345590964
Hi @seyoatda , It's great to hear that you are willing to develop a drl formatter/prettier. I haven't heard of a drl formatter/prettier. https://github.com/kiegroup/drools-lsp is aiming at a DRL editor, but the development is currently suspended until the new parser will be merged. Also it doesn't include a formatter/prettier feature yet. > it's a bit annoying to migrate them from antlr3 to anltr4. The new parser is not yet merged, but you can use the files in my branch. https://github.com/tkobayas/drools/tree/incubator-kie-drools-5988-merge/drools-drl/drools-drl-parser/src/main/antlr4/org/drools/drl/parser/antlr4 `DRLLexer.g4`, `DRLParser.g4`, `DRL6Expressions.g4` are Apache License, Version 2.0. `JavaLexer.g4`, `JavaParser.g4` are BSD license. (from `antlr/grammars-v4`) Cheers, -- 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]
