tkobayas opened a new issue, #2025:
URL: https://github.com/apache/incubator-kie-issues/issues/2025

   Note: This is an experimental PoC. Not yet to be ready for 
discussion/proposal for dev ML. 
   ----
   DRLX is another representation of drools rule language. Characteristics are
   * Based on MVEL3
       * MVEL3 is an enhanced Java
       * MVEL3 basically follows MVEL2 syntax. We may add/drop some syntax
       * MVEL3 can be transpiled to Java so we can pre-compile MVEL3 
expressions (just like executable-model)
   * DRLX adds rule-related syntax to MVEL3
   * LSP can be developed with code-completion using `antlr4-c3` 
   
   [link to spec docs]
   
   ----
   Implementation topics:
   * Grammars are written in Antlr
       * MVEL3 grammar imports Java grammar
       * DRLX grammar imports MVEL3 grammar
   * Once MVEL3/DRLX antlr AST is created, a Visitor can create JavaParser AST 
by visiting the antlr AST.
       * JavaParser AST is useful because
           * We already have the transpiler logic
           * JavaParser SymbolResolver can resolve a node to a type
               * SymbolResolver would be useful in LSP code-completion
   ----
   PoC doesn't have to implement full features. Probably to demonstrate some 
use cases


-- 
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]

Reply via email to