[rules-users] custom rule creation/parsing

Mark Proctor mproctor at codehaus.org
Thu Jul 19 07:21:44 EDT 2007


Look ath te PackageBuilder src and the addFromDrl - you'll see there the 
first bit of code that builds the descr. Also look the DrlParserTest 
which parses code segments and checks the resulting descrs.

Mark
Eugeny N Dzhurinsky wrote:
> On Mon, Jul 16, 2007 at 05:03:28PM +0100, Mark Proctor wrote:
>   
>>    descr's cover the full range of the drl language. I recommend you parse
>>    some drl files into descrs, and look at the creates AST with your
>>    debugger.
>>     
>
> Okay, I took some simple example from Drools examples (HelloWorldExample) and
> tried to reverse engineer package object in Eclipse debugger, but looks like
> the package object doesn't contain any objects from descr package. I assume I
> need to compile that Package object somehow?
>
> Could somebody please point me to the right way in getting solid knowledge of
> how can I build custom package descriptor w/o any DRL/XML - but from my custom
> rule descriptors/storage?
>
> Thank you in advance!
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070719/dd8e6241/attachment.html 


More information about the rules-users mailing list