Eagle Legacy Modernization, LLC

BNF Grammar

Main program: BNF_Program

 Count  Terminals:
409 BNF_Literal: A string enclosed in quotes
192 BNF_Rule_Definition: An identifier
504 BNF_Rule_Reference: An identifier
 Count  Statistics(*) Tokens:
354 1.86 2.72(29%) BNF_Expression: BNF_ExpressionTerm* [BNF_Alternation]*
275 all 1.52 |   BNF_Alternation: '|' BNF_ExpressionTerm*
1,075 (9% | 6% | 47% | 38%) |   BNF_ExpressionTerm: (BNF_Group | BNF_Optional | BNF_Rulename | BNF_Literal)
99 all all all all |   |   BNF_Group: '(' BNF_Expression ')' [("*"|"+")]
63 all all all |   |   BNF_Optional: '[' BNF_Expression ']'
504 all all |   |   BNF_Rulename: BNF_Rule_Reference [("*"|"+")]
5 38.40 BNF_Program: BNF_Rule*
192 all all all all BNF_Rule: BNF_Rule_Definition "::=" BNF_Expression ';'

Terminals = 3 (instances=1,105)
Tokens = 8 (instances=2,567)

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