Eagle Legacy Modernization, LLC

BNF Grammar

Main program: BNF_Program

BNF syntax:

 Count  Terminals:
409 BNF_Literal: quotes:'" escape:\ doubled:no multiline:no
191 BNF_Rule_Definition: An identifier
503 BNF_Rule_Reference: An identifier
 Count  Statistics(*) Tokens:
353 1.86 2.72(29%) BNF_Expression: BNF_ExpressionTerm* [BNF_Alternation]*
1,074 (38% | 47% | 9% | 6%) |   BNF_ExpressionTerm: (BNF_Literal | BNF_Rulename | BNF_Group | BNF_Optional)
5 38.20 BNF_Program: BNF_Rule*
191 all all all all BNF_Rule: BNF_Rule_Definition "::=" BNF_Expression ';'
275 all 1.52 BNF_Alternation: '|' BNF_ExpressionTerm*
99 all all all all BNF_Group: '(' BNF_Expression ')' [("*"|"+")]
63 all all all BNF_Optional: '[' BNF_Expression ']'
503 all all BNF_Rulename: BNF_Rule_Reference [("*"|"+")]

Terminals = 3 (instances=1,103)
Tokens = 8 (instances=2,563)

(*) Statistics are shown in the same order as the Tokens.
Percentages are rounded; 'all' and 'none' mean 100% and 0% before rounding.
For lists, it shows the average number of occurrences, excluding empty lists.