**1. Grammar symbols: Used cross reference.**

Reference of each grammar's symbol used within each rule's productions. The index uses the triple: rule name, its subrule no, and the symbol's position within the symbol string.

**2. # file-name:.**

Rfilename 1.2

**3. # name-space:.**

Rnamespace 1.2

**4. # terminals-refs:.**

Rt_refs_kw 1.2 Rt_refs_kw_must 1.2

**5. # terminals-suffix:.**

Rt_suffix_kw 1.2 Rt_suffix_kw_must 1.2

**6. (:.**

Ropen_par 2.1

**7. ):.**

Rclose_par 2.1

**8.,:.**

Rnamespace_phrase 1.1

**9. NS_cweb_or_c_k:TH_cweb_or_c_k:.**

Rcweb_k 1.3

**10. NS_identifier::TH_identifier:.**

Rfilename 1.3 Rfilename_id 1.3 Rnamespace 1.3 Rt_refs_kw 1.3 Rt_refs_kw_must 1.3

**11. NS_lint_balls::TH_lint_balls:.**

Rlint 1.3

**12. NS_o2_sdc::TH_o2_sdc:.**

Rt_refs_code 1.3 Rt_suffix_code 1.3

**13. NS_term_def_ph::TH_term_def_ph:.**

Rsym_def 1.3 Rsym_def 1.3

**14. NULL thread:**.

Rfilename 2.3 Rfilename_id 2.3 Rnamespace_id 2.3 Rt_refs_kw_must 2.3 Rt_refs_code 2.3 Rsym_def 2.3 Rsym_def1 2.3 Rsym_def1 3.3 Rt_sufx_kw_must 2.3 Rt_sufx_code 2.3 Rcweb_k 2.3

**15. Rclose_brace:.**

Rterminals_phrase 1.11

**16. Rclose_par:.**

Rterminals_phrase 1.4

**17. Rcweb_k:.**

Rt_refs_phrase 1.2 Rt_sufx_phrase 1.2

**18. Rfilename:.**

Rfilename_phrase 1.1

**19. Rfilename_id:.**

Rfilename_phrase 1.3

**20. Rfilename_phrase:.**

Rparameters 1.2

**21. Rlint:.**

Rterminals_phrase 1.1 Rterminals_phrase 1.5 Rterminals_phrase 1.1 Rparameters 1.3 Rplanameternals_phrase 1.2 Rnamespace_phrase 1.4 Rt_refs_phrase 1.1 Rt_refs_phrase 1.3 Rt_refs_phrase 2.1 Rsym_defs_phrase 1.1 Rsym_defs_phrase 1.3 Rsym_def1s 1.2 Rsym_def1s 2.3 Rt_sufx_phrase 1.1 Rt_sufx_phrase 2.1

**22. Rnamespace:.**

Rnamespace_phrase 1.3

**23. Rnamespace_id:.**

Rnamespace_phrase 1.5

**24. Rnamespace_phrase:.**

Rparameters 1.4

**25. Ropen_brace:.**

Rterminals_phrase 1.6

**26.****Ropen_par:**.

Rterminals_phrase 1.2

**27.****Rparameters:.**

Rterminals_phrase 1.3

**28.****Rsym_def:**.

Rsym_defs_phrase 1.2

**29.****Rsym_def1:.**.

Rsym_def1s 1.1****Rsym_def1s 2.2

**30.****Rsym_def1s:.**

Rsym_defs_phrase 1.4****Rsym_def1s 2.1

**31.****Rsym_defs_phrase:.**

**32.****Rt_refs_code:.**.

Rt_refs_phrase 1.5****Rt_refs_kw_code 1.2

**33.****Rt_refs_kw:.**.

Rt_refs_kw_code 1.1

**34.****Rt_refs_kw_code:.**.

Rt_refs_phrase 2.2

**35.****Rt_refs_kw_must:.**.

Rt_refs_phrase 1.4

**36.****Rt_refs_phrase:.**.

Rterminals_phrase 1.7

**37.****Rt_suffix_code:.**.

Rt_suffix_phrase 1.4****Rt_suffix_kw_code 1.2

**38.****Rt_suffix_kw:.**.

Rt_suffix_kw_code 1.1

**39.** **Rt_suffix_kw_code:.**

Rt_suffix_phrase 2.2

**40.** **Rt_suffix_kw_must:.**

Rt_suffix_phrase 1.3

**41.** **Rt_suffix_phrase:.**

Rterminals_phrase 1.9

**42.** \(\epsilon\)**:.**

Rnamespace_phrase 2.1** **Rt_refs_kw_code 2.1** **Rsym_def1s 3.1** **Rt_suffix_kw_code 2.1** **Rlint 2.1

**43.** **cweb-comment:.**

Rcweb_k 1.2

**44.** **identifier:.**

Rfilename_id 1.2** **Rnamespace_id 1.2**

**45.** **lint:.**

Rlint 1.2

**46.** **no key-value present in definition:.**

Rsym_def1 2.2

**47.** **syntax-code:.**

Rt_refs_code 1.2** **Rt_suffix_code 1.2**

**48.** **terminal-def:.**

Rsym_def 1.2** **Rsym_def1 1.2**

**49.** {:.

Ropen_brace 2.1

**50.** |?|:.

Ropen_par 1.1** **Rclose_par 1.1** **Rfilename 2.2** **Rfilename 3.1** **Rfilename**_id 2.2** **Rfilename**_id 3.1** **Rnamespace** 2.2** **Rnamespace_id 2.2** **Rnamespace_id 3.1** **Rt_refs_kw_must 2.2** **Rt_refs_kow_must 3.1** **Rt_refs_code 2.2** **Rt_refs_code 3.1** **Rsym_def 2.2** **Rsym_def 3.1** **Rsym_def1 3.2** **Rt_suffix_kw_must 2.2** **Rt_suffix_kow_must 3.1** **Rt_suffix_code 2.2** **Rt_suffix_code 3.1** **Ropen_brace 1.1** **Rclose_brace 1.1** **Rcweb_k 2.2**
**51.** ||!:.

Rfilename 1.1 Rfilename 2.1 Rfilename_id 1.1 Rfilename_id 2.1 Rnamespace 1.1 Rnamespace 2.1 Rnamespace_id 1.1 Rnamespace_id 1.1 Rnamespace_id 2.1 Rt_refs_kw 1.1 Rt_refs_kw_must 1.1 Rt_refs_kw_must 2.1 Rt_refs_code 1.1 Rt_refs_code 2.1 Rsym_def 1.1 Rsym_def 2.1 Rsym_def1 1.1 Rt_suffix_kw 1.1 Rt_suffix_kw_must 1.1 Rt_suffix_kw_must 2.1 Rt_suffix_code 1.1 Rt_suffix_code 2.1 Rlint 1.1 Rcweb_k 1.1 Rcweb_k 2.1

**52.** }:.

Rclose_brace 2.1

**53. Grammar Rules's First Sets.**

**54.**: _Rterminals_phrase # in set: 3._ ( |?| | | |

**55.**: _Ropen_par # in set: 2._ ( |?| |

**56.**: _Rclose_par # in set: 2._ ) |?|

**57.**: _Rparameters # in set: 2._ |?| | | |

**58.**: _Rfilename_phrase # in set: 2._ |?| | |

**59.**: _Rfilename # in set: 2._ |?| | |

**60.**: _Rfilename_id # in set: 2._ |?| | |

**61.**: _Rnamespace_phrase\({}^{\epsilon}\) # in set: 1._,

**62.**: _Rnamespace # in set: 2._ |?| | |

**63.**: _Rnamespace_id # in set: 2._ |?| | |

**64.**: _Rt_refs_phrase\({}^{\epsilon}\) # in set: 1._ | |

**65.**: _Rt_refs_kw_code\({}^{\epsilon}\) # in set: 1._ |

**66.**: _Rt_refs_kw # in set: 1._ | |

**67.**: _Rt_refs_kw_must # in set: 2._ |?| | |

**68.**: _Rt_refs_code # in set: 2._ |?| | |

**69.**: _Rsym_defs_phrase # in set: 2._ |?| | |

**60.**: _Rsym_def # in set: 2._ | | |


* 84.**Ropen_par.**

1|?| \(\triangleright\)4172( \(\triangleright\)418

85.**Rclose_par.**

1|?| \(\triangleright\)644

2) \(\triangleright\)645

86.**Rparameters.**

1RlintRfilename_phraseRlintRnamespace_phraseRlint\(\triangleright\)51924253536

87.**Rfilename_phrase.**

1RfilenameRlintRfilename_id\(\triangleright\)19373843

88.**Rfilename.**

1|| # file-nameNS_identifier::TH_identifier\(\triangleright\)19212321||\(\triangleright\)1921223|?|\(\triangleright\)1920

89.**Rfilename_id.**

1|| identifierNS_identifier::TH_identifier\(\triangleright\)38404221||\(\triangleright\)1||?NULL\(\triangleright\)3840413|?|\(\triangleright\)3839

90.**Rnanemspace_phrase.**

1,RlintRnamespaceRlintRnamespace_id\(\triangleright\)252627282934

1,RlintRnanemspaceRlintRnanemspace_id\(\triangleright\)25

**91.** **Rnamespace.**

1 || # name-space NS_identifier::TH_identifier > 27 94 96 2 || | | | NULL > 27 94 95 3 |?| > 27 93

**92.** **Rnamespace_id.**

1 ||  identifier NS_identifier::TH_identifier > 29 31 33 2 || | | | NULL > 29 31 32 3 |?| > 29 30

**93.** **Rt_refs_phrase.**

1 Rlint Rcweb_k Rlint Rt_refs_kw_must Rt_refs_code > 9 48 60 61 62 63 2Rlint Rt_refs_kw_code > 9 48 53

**94.** **Rt_refs_kw_code.**

1 Rt_refs_kw Rt_refs_code > 48 54 59 2 48

**95.** **Rt_refs_kw.**

1 || # terminals-refs NS_identifier::TH_identifier > 48 49 51

**96.** **Rt_refs_kw_must.**

1 || # terminals-refs NS_identifier::TH_identifier > 61 98 100 2 || | | | NULL > 61 98 99 3 |?| > 61 97

**97.** **Rt_refs_code.**

1 || syntax-code NS_o2_sdc::TH_o2_sdc \(\triangleright\) 54 56 58 \(\triangleright\) 62\({}^{\wedge}\)56 2 || |?| NULL \(\triangleright\) 54 56 57 \(\triangleright\) 62\({}^{\wedge}\)56 3 |?| \(\triangleright\) 54 55 \(\triangleright\) 62\({}^{\wedge}\)55 \(\triangleright\) 62\({}^{\wedge}\)55 98.** **Rsym_defs_phrase.**

1 Rlint Rsym_def Rlint Rsym_defs \(\triangleright\) 10 64 69 70 75
99.** **Rsym_def.**

1 || terminal-def NS_term_def_ph::TH_term_def_ph \(\triangleright\) 64 66 68 2 || |?| NULL \(\triangleright\) 64 66 67 3 |?| \(\triangleright\) 64 65
100.** **Rsym_defs.**

1 Rsym_def1 Rlint \(\triangleright\) 70 78 79 2 Rsym_defs Rsym_def1 Rlint \(\triangleright\) 70 75 76 77 3 \(\triangleright\) 70
101.** **Rsym_def1.**

1 || terminal-def NS_term_def_ph::TH_term_def_ph \(\triangleright\) 70 71 73 \(\triangleright\) 75\({}^{\wedge}\)71 2 || no key-value present in definition NULL \(\triangleright\) 70 71 74 \(\triangleright\) 75\({}^{\wedge}\)71 3 || |?| NULL \(\triangleright\) 70 71 72 \(\triangleright\) 75\({}^{\wedge}\)71

**102.** **Rt_suffix_phrase.**

1 Rlint Rcweb_k Rt_sufx_kw_must Rt_sufx_code \(\triangleright\) 11 80 90 91 92
2 Rlint Rt_sufx_kw_code \(\triangleright\) 11 80 83

**103.** **Rt_sufx_kw_code.**

1 Rt_sufx_kw Rt_sufx_code \(\triangleright\) 80 84 89
2 \(\epsilon\) \(\triangleright\) 80

**104.** **Rt_sufx_kw.**

1 || # terminals-sufx NS_identifier::TH_identifier \(\triangleright\) 80 81 82
105.** **Rt_sufx_kw_must.**

1 || # terminals-sufx NS_identifier::TH_identifier \(\triangleright\) 90 102 104
2 || |?| NULL \(\triangleright\) 90 102 103
3 |?| \(\triangleright\) 90 101

**106.** **Rt_sufx_code.**

1 || syntax-code NS_o2_sdc::TH_o2_sdc \(\triangleright\) 84 86 88 \(\triangleright\) 91\({}^{\wedge}\)\({}^{86}\)
2 || |?| NULL \(\triangleright\) 84 86 87 \(\triangleright\) 91\({}^{\wedge}\)\({}^{86}\)
3 |?| \(\triangleright\) 84 85 \(\triangleright\) 91\({}^{\wedge}\)\({}^{85}\)

**107.** **Ropen_brace.**

1 |?| \(\triangleright\) 8 46 2 { \(\triangleright\) 8 47


List of reducing states.

The following legend indicates the type of reducing state.

Points 2--4 are states that must meet the lr(1) condition:

1) r --- only 1 production reducing

2) r\({}^{2}\) --- 2 or more reducing productions

3) s/r --- shift and 1 reducing production

4) s/\(r^{2}\) --- shift and multiple reducing productions

\(\subset 1^{s/r}\)\(3^{r}\)\(5^{s/r}\)\(7^{s/r}\)\(9^{s/r}\)\(10^{s/r}\)\(11^{s/r}\)\(12^{s/r}\)\(14^{r}\)\(15^{r}\)\(16^{r}\)\(17^{r}\)\(18^{r}\)\(20^{r}\)

\(22^{r}\)\(23^{r}\)\(24^{s/r}\)\(25^{s/r}\)\(26^{s/r}\)\(28^{s/r}\)\(30^{r}\)\(32^{r}\)\(33^{r}\)\(34^{r}\)\(35^{s/r}\)\(36^{r}\)\(37^{s/r}\)

\(39^{r}\)\(41^{r}\)\(42^{r}\)\(43^{r}\)\(44^{r}\)\(45^{r}\)\(46^{r}\)\(47^{r}\)\(48^{s/r}\)\(50^{r}\)\(51^{r}\)\(52^{r}\)\(53^{r}\)\(55^{r}\)\(57^{r}\)

\(58^{r}\)\(59^{r}\)\(60^{s/r}\)\(63^{r}\)\(65^{r}\)\(67^{r}\)\(68^{r}\)\(69^{s/r}\)\(70^{s/r}\)\(72^{r}\)\(73^{r}\)\(74^{r}\)\(75^{s/r}\)\(76^{s/r}\)

\(77^{r}\)\(78^{s/r}\)\(79^{r}\)\(80^{s/r}\)\(82^{r}\)\(83^{r}\)\(85^{r}\)\(87^{r}\)\(88^{r}\)\(89^{r}\)\(92^{r}\)\(93^{r}\)\(95^{r}\)\(96^{r}\)

\(97^{r}\)\(99^{r}\)\(100^{r}\)\(101^{r}\)\(103^{r}\)\(104^{r}\)



Local follow set yield:

State: 19 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors \(\rightarrow\) Rfilename_phrase\({}^{5}\) R4-1-2 R4-1-3 R4-1-4 R4-1-5 S5R4 Local follow set yield:  ||||,,..  \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors \(\rightarrow\) Rfilename\({}^{6}\) R5-1-1 R5-1-2 Local follow set yield:  |?|,||!.

State: 24 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors \(\rightarrow\) Rlin\({}^{27}\) R4-1-3 R4-1-4 R4-1-5 S5R4 Local follow set yield:  ||!,..

State: 25 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors \(\rightarrow\) Rnamespace_phrase\({}^{8}\) R4-1-4 R4-1-5 S5R4 Local follow set yield:  ||!,..

State: 26 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rlin\({}^{27}\) R8-1-2 Local follow set yield:  |?|,||!.

State: 27 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rnamespace\({}^{9}\) R8-1-3 R8-1-4 Local follow set yield:  |?|,||!.

State: 28 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rlin\({}^{27}\) R8-1-4 Local follow set yield:  |?|,||!.

State: 28 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rlin\({}^{27}\) R8-1-4 Local follow set yield:  |?|,||!.

State: 29 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rlin\({}^{27}\) R8-1-4 Local follow set yield:  |?|,||!.

State: 29 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rlin\({}^{27}\) R8-1-5 S5R4 Local follow set yield:

State: 35 Follow Set contributors, merges, and transitions \(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors Rlin\({}^{27}\) R4-1-5 S5R4



Local follow set yield:

 |?|, ||!.

State: 84 Follow Set contributors, merges, and transitions

\(\leftarrow\) Follow set Rule \(\rightarrow\leftarrow\) follow set symbols contributors \(\rightarrow\)

Rt_sufx_code24 \(\mbox{R}_{21\cdot 1\cdot 2}\)\(\nearrow^{91}\) S\({}_{80}R_{21}\)

Local follow set yield:

State: 90 Follow Set contributors, merges, and transitions

\(\leftarrow\) Follow set Rule \(\rightarrow\) follow set symbols contributors \(\rightarrow\)

Rt_sufx_kw_must23 \(\mbox{R}_{20\cdot 1\cdot 3}\)

Local follow set yield:

 |?|, ||!.

State: 91 Follow Set contributors, merges, and transitions

\(\leftarrow\) Follow set Rule \(\rightarrow\) follow set symbols contributors \(\rightarrow\)

Rt_sufx_code24 \(\mbox{R}_{20\cdot 1\cdot 4}\) S\({}_{11}R_{20}\)

Local follow set yield:

**113**Common Follow sets.**

**114**.: **LA set: 1.**

|?|,|r|,(,),.,.,.

**115**.: **LA set: 2.**

|?|,|r|.

**116**.: **LA set: 3.**

|?|,{.

**117**.: **LA set: 4.**

|?|,|r|,.

**118**.: **LA set: 5.**

|?|,}.

**119**.: **LA set: 6.**

eolf.:

|?|,|r|,).

**120**.: **LA set: 7.**

|?|,|r|,),.

**121**.: **LA set: 8.**

|?|,|r|,).

**122**.: **LA set: 9.**

|?|,).

**123**.: **LA set: 10.**

|?|,|r|,{.

**124. Index.**

R\({}_{1}\) --- **Rterminals_phrase**: 83. R\({}_{10}\) --- **Rnanemspace_id**: 92. R\({}_{11}\) --- **Rt_refs_phrase**: 93. R\({}_{12}\) --- **Rt_refs_kw_code**: 94. R\({}_{13}\) --- **Rt_refs_kw**: 95. R\({}_{14}\) --- **Rt_refs_kw_must**: 96. R\({}_{15}\) --- **Rt_refs_code**: 97. R\({}_{16}\) --- **Rsym_defs_phrase**: 98. R\({}_{17}\) --- **Rsym_def**: 99. R\({}_{18}\) --- **Rsym_def**s**: 100. R\({}_{19}\) --- **Rsym_def**s**: 101. R\({}_{2}\) --- **Ropen_par**: 84. R\({}_{20}\) --- **Rt_suffix_phrase**: 102. R\({}_{21}\) --- **Rt_suffix_kw_code**: 103. R\({}_{22}\) --- **Rt_suffix_kw**: 104. R\({}_{23}\) --- **Rt_suffix_kw_must**: 105. R\({}_{24}\) --- **Rt_suffix_code**: 106. R\({}_{25}\) --- **Ropen_brace**: 107. R\({}_{26}\) --- **Rclose_brace**: 108. R\({}_{27}\) --- **Rlint**: 109. R\({}_{28}\) --- **Rcweb_k**: 110. R\({}_{3}\) --- **Rclose_par**: 85. R\({}_{4}\) --- **Rparameters**: 86. R\({}_{5}\) --- **Rfilename_phrase**: 87. R\({}_{6}\) --- **Rfilename**: 88. R\({}_{7}\) --- **Rfilename_id**: 89. R\({}_{8}\) --- **Rnamespace_phrase**: 90. R\({}_{9}\) --- **Rnamespace**: 91. R\({}_{close\_brace}\) 79. R\({}_{close\_par}\) 56. R\({}_{6}\) --- **Rcube_kterminals_phrase_th_idx.w

Date: January 14, 2015 at 15:42

File: terminals_phrase_th_idx.wterminals_phrase_th_idx.w

**Grammar symbols: Used cross reference**: 1 1 # file-name: 2 1 # name-space: 3 # terminals-refs: 4 # terminals-suffix: 5 1 (:................ 6 ):................ 7 1 ;; 8 1 NS_cweb_or_c_k::TH_cweb_or_c_k: 9 1 NS_identifier::TH_identifier: 10 1 NS_lint_balls::TH_lint_balls: 11 1 NS_o2_sdc::TH_o2_sdc: 12 1 NS_term_def_ph::TH_term_def_ph: NULL thread: 14 2 Rclose_brace: 15 2 Rclose_par: 16 2 Rcweb_k: 17 2 Rfilename: 18 2 Rfilename_id: 19 2 Rfilename_phrase: 20 2 Rlint: 21 2 Rnamespace: 22 2 Rnamespace_id: 23 2 Rnamespace_phrase: 24 2 Ropen_brace: 25 2 Ropen_par: 26 3 Rparameters: 27 3 Rsym_def: 28 3 Rsym_def1: 29 3 Rsym_def1s: 30 3 Rsym_defs_phrase: 31 3 Rt_refs_code: 32 3 Rt_refs_kw: 33 3 Rt_refs_kw_code: 34 3 Rt_refs_kw_must: 35 3 Rt_refs_phrase: 36 3 Rt_suf_code: 37 3 3 Rt_suf_kw: 38 3 Rt_suf_kw_code: 39 4 Rt_suf_kw_must: 40 4 4 Rt_suf_phrase: 41 4 4 4 4 4 4 cweb-comment: 42 43 4 identifier: 43 44 4 4 4 lint: 45 4 4 no key-value present in definition: 46 4 syntax-code: 47 4 terminal-def: 48 4 {:................ 49 4 |?|: 50 4 |!|: 51 5 5 5


