[rules-dev] Questions about DSL in 3.2

Peter Lin woolfel at gmail.com
Sun Feb 4 08:45:26 EST 2007


sure go right ahead and move the DSLtree stuff to compiler :)

peter

On 2/4/07, Edson Tirelli <tirelli at post.com> wrote:
>
>
>      All,
>
>      I will reintegrate/implement DSL support in drools-compiler, as we
> discussed before, as a pre-processor. I have some questions I would like
> to have your opinion about:
>
> Q1: Is there any reason for the DSL parser to be line based?
>
> Q2: I will make keywords configurable, so you can say "regra" for
> instance (in portuguese) instead of "rule", ok?
>
> Q3: Peter: I'm thinking in copy/port the DSL tree that you created into
> drools-compiler... I think we can leverage it to help create a better
> parser for the DSL, ok?
>
> Q4: do we need everything to be expandable in the DSL? or should we
> simply passthrough anything that is not expandable directly as a chunk
> to the DRL? Example:
>
> DSL:
> =====
> ...
> regra ABC
> se
>    ...
> entao
>    System.out.println( "BLABLA" );
> fim
> ...
> ====
>
>     Ok, I know that no business user will ever write
> System.out.println(), but it is just just an example. And the keywords
> are in portuguese for you guys to understand it better... ;)
>
>    Thanks for the feeback.
>
>    []s
>    Edson
>
> --
> Edson Tirelli
> Software Engineer - JBoss Rules Core Developer
> Office: +55 11 3124-6000
> Mobile: +55 11 9218-4151
> JBoss, a division of Red Hat @ www.jboss.com
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20070204/7114af49/attachment.html 


More information about the rules-dev mailing list