Eagle Legacy Modernization, LLC

BNF Grammar

Main program: BNF_Program

 Count  Terminals:
400 BNF_Literal: A string enclosed in quotes
185 BNF_Rule_Definition: An identifier
490 BNF_Rule_Reference: An identifier
 Count  Statistics(*) Tokens:
342 1.86 2.74(29%) BNF_Expression: BNF_ExpressionTerm* [BNF_Alternation]*
271 all 1.52 |   BNF_Alternation: '|' BNF_ExpressionTerm*
1,047 (9% | 6% | 47% | 38%) |   BNF_ExpressionTerm: (BNF_Group | BNF_Optional | BNF_Rulename | BNF_Literal)
97 all all all all |   |   BNF_Group: '(' BNF_Expression ')' [("*"|"+")]
60 all all all |   |   BNF_Optional: '[' BNF_Expression ']'
490 all all |   |   BNF_Rulename: BNF_Rule_Reference [("*"|"+")]
4 46.25 BNF_Program: BNF_Rule*
185 all all all all BNF_Rule: BNF_Rule_Definition "::=" BNF_Expression ';'

Terminals = 3 (instances=1,075)
Tokens = 8 (instances=2,496)

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