sure go right ahead and move the DSLtree stuff to compiler :)<br>
<br>
peter<br><br><div><span class="gmail_quote">On 2/4/07, <b class="gmail_sendername">Edson Tirelli</b> &lt;<a href="mailto:tirelli@post.com">tirelli@post.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&nbsp;&nbsp;&nbsp;&nbsp; All,<br><br>&nbsp;&nbsp;&nbsp;&nbsp; I will reintegrate/implement DSL support in drools-compiler, as we<br>discussed before, as a pre-processor. I have some questions I would like<br>to have your opinion about:<br><br>Q1: Is there any reason for the DSL parser to be line based?
<br><br>Q2: I will make keywords configurable, so you can say &quot;regra&quot; for<br>instance (in portuguese) instead of &quot;rule&quot;, ok?<br><br>Q3: Peter: I&#39;m thinking in copy/port the DSL tree that you created into
<br>drools-compiler... I think we can leverage it to help create a better<br>parser for the DSL, ok?<br><br>Q4: do we need everything to be expandable in the DSL? or should we<br>simply passthrough anything that is not expandable directly as a chunk
<br>to the DRL? Example:<br><br>DSL:<br>=====<br>...<br>regra ABC<br>se<br>&nbsp;&nbsp; ...<br>entao<br>&nbsp;&nbsp; System.out.println( &quot;BLABLA&quot; );<br>fim<br>...<br>====<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Ok, I know that no business user will ever write<br>
System.out.println(), but it is just just an example. And the keywords<br>are in portuguese for you guys to understand it better... ;)<br><br>&nbsp;&nbsp; Thanks for the feeback.<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br>--<br> Edson Tirelli
<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3124-6000<br> Mobile: +55 11 9218-4151<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br><br><br>_______________________________________________
<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
<br></blockquote></div><br>