Re: [rules-users] Regex parsing of drl file versus Visitor pattern

2012-02-16 Thread Edson Tirelli
First it is important to know that you are dealing with internal APIs here and they can change from version to version, although they haven't changed much in the latest few versions. If you use the DRLParser directly, it will give you an AST-like descriptor model (root object is a PackageDes

[rules-users] Regex parsing of drl file versus Visitor pattern

2012-02-16 Thread mikeg
My project uses Drools type declarations with custom annotations that are used to assist in the dynamic mapping of underlying domain data to drools fact types. I need to provide a Swing user interface for rule creation that guides the user through the custom type declarations, rules, and functions