Open main menu

Difference between revisions of "SCI/Specifications/SCI in action/Parser"

→‎The Parse tree: Some rephrasing
(→‎Parser grammar example: Fix a small typo, and improve readability)
(→‎The Parse tree: Some rephrasing)
Line 158: Line 158:
where
where


* <i>&omega;<sub>j</sub> &isin; W</i>
* <i>&omega;<sub>j</sub> &isin; W</i>, with <i>W</i> being the set of all words;
* <i>&gamma;<sub>j</sub> &isin; &Gamma;</i>
* <i>&gamma;<sub>j</sub> &isin; &Gamma;</i>, with <i>&Gamma;</i> being the set of all word groups;
* <i>&mu;<sub>j</sub> &isin; 2<sup>c</sup></i>
* <i>&mu;<sub>j</sub> &isin; 2<sup>c</sup> </i>, with <i>C</i> being the set of all class masks <nowiki>{0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x100}</nowiki>;
* <i>&omega;<sub>j</sub> = (&gamma;<sub>j</sub>, &mu;<sub>j</sub>)</i>
* <i>&omega;<sub>j</sub> = (&gamma;<sub>j</sub>, &mu;<sub>j</sub>)</i>, with &gamma;<sub>j</sub> being the word group <i>&omega;<sub>j</sub></i> belongs to, and <i>&mu;<sub>j</sub></i> being its class mask
<!-- Math formulas
<!-- Math formulas
* <math>\omega_j \in W</math>
* <math>\omega_j \in W</math>
Line 167: Line 167:
*<math>\mu_j \in 2^C</math>
*<math>\mu_j \in 2^C</math>
*<math>\omega_j = (\gamma_j, \mu_j</math> -->
*<math>\omega_j = (\gamma_j, \mu_j</math> -->
With <i>W</i> being the set of all words, <i>&Gamma;</i> being the set of all word groups, <i>C</i> being the set of all class masks <nowiki>{1,2,4,8,10,20,40,80,100}</nowiki>, &gamma;<sub>j</sub> being the word group <i>&omega;<sub>j</sub></i> belongs to, and <i>&omega;<sub>j</sub></i> being its class mask, as described above.


For the following sections, we define
For the following sections, we define
1,079

edits