Service:yes agreed. Simplifying the grammar, reducing ambigiiouty or multiple ways of doing the same thing, will make any resulting grammar both easier ot maintain and grok.
http://www-cgi.uni-regensburg.de/~brf09510/syntax.html
The grammar syntax is the same as used in DRL.g but stripped of all the antsy additions, and simplified.
@Mark: I'm well aware of the limitations of a 1:1 translation of a parser's grammar into diagrams. I have reduced the splits into separate rules in DRL.g considerably. But what do you want to hide from the users? The syntax is the syntax, and there's no sweet-talking around it after you have reduced all the noise from technical splits.
One thing that might help would be deprecating things like infix or/and.
Some rules can be omitted if they coincide with Java's own rules; just add an explanation.
-W
On 22 September 2010 14:56, Anstis, Michael (M.) <manstis1@ford.com> wrote:
What was the service and was it the ANTLR grammar you uploaded to
generate the images?
Thanks,
Mike
<http://www-cgi.uni-regensburg.de/%7Ebrf09510/syntax.tmp/x45371x0x0x.ebn
-----Original Message-----
From: rules-dev-bounces@lists.jboss.org
[mailto:rules-dev-bounces@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: 22 September 2010 13:38
To: Rules Dev List
Subject: [rules-dev] Drools syntax diagrams - redrawn
I've found this online service and stuffed the Drools grammar into it.
You may see the results while they are still there:
http://www-cgi.uni-regensburg.de/~brf09510/syntax.tmp/x45371x0x0x.ebnf.h
tml
f.html>
-W
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev