Eagle Legacy Modernization, LLC

BNF Grammar

Main program: BNF_Program

 Count  Terminals:
809 BNF_Literal: A string enclosed in quotes
377 BNF_Rule_Definition: An identifier
994 BNF_Rule_Reference: An identifier
 Count  Statistics(*) Tokens:
696 1.86 2.73(29%) BNF_Expression: BNF_ExpressionTerm* [BNF_Alternation]*
546 all 1.52 |   BNF_Alternation: '|' BNF_ExpressionTerm*
2,122 (9% | 6% | 47% | 38%) |   BNF_ExpressionTerm: (BNF_Group | BNF_Optional | BNF_Rulename | BNF_Literal)
196 all all all all |   |   BNF_Group: '(' BNF_Expression ')' [("*"|"+")]
123 all all all |   |   BNF_Optional: '[' BNF_Expression ']'
994 all all |   |   BNF_Rulename: BNF_Rule_Reference [("*"|"+")]
9 41.89 BNF_Program: BNF_Rule*
377 all all all all BNF_Rule: BNF_Rule_Definition "::=" BNF_Expression ';'

Terminals = 3 (instances=2,180)
Tokens = 8 (instances=5,063)

(*) 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.