sure go right ahead and move the DSLtree stuff to compiler :)
peter
On 2/4/07, Edson Tirelli <tirelli(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev