* Firstly, a simpler higher level API, like the RuleBaseLoader - for dealing with simple cases (a High Level API that compiles and builds in one step). <br>* Secondly - I don&#39;t see why we have to expose the descrs in the normal case - we can just have an api that goes from source to Package binary&nbsp; - make it optional to extract the Descrs. 
<br><br>* Perhaps something like:<br><br>PackageBuilder.addPackageHeader(... stuff for package header... only done once... eg globals, imports... validate it all at this point).<br>PackageBuilder.addRule(... just takes the reader to a single rule...)
<br>PackageBuilder.addDrl(... just takes a reader to a chunk of DRL, but does NOT include the package header? Or if it does, it works jsut as before, merging the package). <br>PackageBuilder.addFunction... <br><br>you get the idea. Its really augmenting it for the repo/individual rule assets/files. 
<br><br><br><br><br><div><span class="gmail_quote">On 2/28/07, <b class="gmail_sendername">Mark Proctor</b> &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</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;">



  

<div bgcolor="#ffffff" text="#000000">
Suggest away.<br>
<br>
Mark<br>
Michael Neale wrote:
<blockquote type="cite"><span class="q">Guys - are there going to be any changes to the compiler
API now? Cause now is the time to fix/change it if needed.<br>
  <br>
I have some suggestions if anyone is interested.<br>
  </span><pre><hr size="4" width="90%">
_______________________________________________<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-dev@lists.jboss.org</a>

<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
  </pre>
</blockquote>
<br>
</div>

<br>_______________________________________________<br>rules-dev mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-dev</a><br><br></blockquote></div><br>