<div dir="ltr">thanks Stephen<div><br></div><div>My knowledge of DSLs is very limited. But isnt the problem still parsing in the DRL into the DSL? I dont really understand how a DSL helps - but that is probably due to my lack of knowledge here.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 4:41 PM, Stephen Masters [via Drools] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4022886&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <div>Depending on your model, it may be better to create a DSL as an intermediate language. That way you have a simplified language, which you control, to parse in and out, which could be tuned to your own domain model.</div>
<div><br></div><div>Steve</div><div><br></div><br><div><div class="im"><div>On 19 Mar 2013, at 14:36, kurrent93 &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4022885&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:</div>
<br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite"><div class="im"><div dir="ltr">HI David<div><br></div><div>Yes we are also looking into rule templates.</div><div><br></div><div>We have come up with - what we believe - is a very natural, intuitive and visually appealing way to author rules. And it is tailored for our specific domain. </div>

<div><br></div><div>One significant aspect of our work is that we are present drools authoring to end users - customers - rather than business users. Hence the importance of crafting a specialized UI, rather than the generic UI of Guvnor. </div>

<div><br></div><div>And FYI - are also including in the design some UI elements, for a future version, that will use Drools Chance features. </div><div><br></div><div>Can you point me to documentation - and ideally - samples around using APIs for the descriptor level? </div>

<div><br></div><div>Thanks</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 19, 2013 at 3:11 PM, Davide Sottara [via Drools] <span dir="ltr">&lt;&lt;a href=&quot;x-msg://398/user/SendEmail.jtp?type=node&amp;amp;node=4022881&amp;amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot; link=&quot;external&quot;&gt;[hidden email]&gt;</span> wrote:<br>

</div></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="h5">

        
  
    
  
  
    <div>As a RETE network is being created, DRL
      Rules are parsed into an internal &quot;descriptor&quot; structure (a high
      level AST)<br>
      and then compiled into a RETE. <br>
      <br>
      There are &quot;APIs&quot; to create rules at the descriptor level: this can
      then be &quot;dumped&quot; back into DRL.<br>
      To work at the DRL level directly, it&#39;s common to use parametric
      &quot;templates&quot;.<br>
      <br>
      If your internal (meta)model is object oriented, you could
      consider using DRL rules to write the translators :)<br>
      <br>
      Davide<br>
      <br>
      p.s. could you provide some more information about your use case?
      I&#39;m doing some research on rule authoring<br>
      environments right now. Thanks!<div><div><br>
      <br>
      <br>
      <br>
      On 03/19/2013 09:54 AM, Michael Anstis wrote:<br>
    </div></div></div><div><div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite">Rules are DRL that is a String. <br>
      <br>
      Where and how you choose to store the String is up to you.<br>
      <br>
      Please try to explain what you want to achieve a little more.<br>
      <br>
      <div class="gmail_quote">On 19 March 2013 12:49, kurrent93 <span dir="ltr">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4022878&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span>
        wrote:<br>
        <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">HI all<br>
          <br>
          Is there any samples or documentation for reading and writing
          of rules?<br>
          <br>
          The user case is we are trying to build a custom Rule Editor,
          and thus would<br>
          like to write and read rules to/from our beans.<br>
          <br>
          Thanks<br>
          <br>
          <br>
          <br>
          --<br>
          View this message in context: <a href="http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874.html" rel="nofollow" link="external" target="_blank">http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874.html</a><br>


          Sent from the Drools: User forum mailing list archive at
          <a href="http://Nabble.com" rel="nofollow" link="external" target="_blank">Nabble.com</a>.<br>
          _______________________________________________<br>
          rules-users mailing list<br>
          <a href="http://user/SendEmail.jtp?type=node&amp;node=4022878&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
          <a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
rules-users mailing list
<a href="http://user/SendEmail.jtp?type=node&amp;node=4022878&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  

<br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4022878&amp;i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>

        
        
        
        <br>
        <br>
        <hr noshade size="1">
        </div></div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div></div><a href="http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874p4022878.html" rel="nofollow" link="external" target="_blank">http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874p4022878.html</a>
        </div></div></div><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from API for reading and writing rules, &lt;a href=&quot;x-msg://398/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot; link=&quot;external&quot;&gt;click here.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874p4022881.html" rel="nofollow" link="external" target="_blank">Re: [rules-users] API for reading and writing rules</a><div class="im">
<br>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" rel="nofollow" link="external" target="_blank">Drools: User forum mailing list archive</a> at <a href="http://Nabble.com" rel="nofollow" link="external" target="_blank">Nabble.com</a>.<br>
_______________________________________________<br>rules-users mailing list<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4022885&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-users</a></div>
</blockquote></div><div class="im"><br><br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4022885&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>

        
        
        
        <br>
        <br>
        </div><hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874p4022885.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874p4022885.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from API for reading and writing rules, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/API-for-reading-and-writing-rules-tp4022874p4022886.html">Re: [rules-users] API for reading and writing rules</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>