Unstable-Languages-beta : SIMPLE-THR-A-Disambiguation.cbs | PLAIN | PDF
\[\KEY{Language} \quad \STRING{SIMPLE-THR}\]
\(\SECT{A}\) Disambiguation
\(\KEY{Lexis SDF}\)
lexical syntax
\(\SHADE{\SYNHYPER{../.}{SIMPLE-THR-1-Lexical}{id}}\) = \(\SHADE{\SYNHYPER{../.}{SIMPLE-THR-1-Lexical}{keyword}}\) {reject}
lexical restrictions
\(\SHADE{\SYNHYPER{../.}{SIMPLE-THR-1-Lexical}{id}}\) -/- [A-Za-z0-9]
\(\KEY{Syntax SDF}\)
context-free syntax
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{*}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{/}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{\PERCENT}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{+}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{-}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{\AMPERSAND}{\AMPERSAND}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{|}{|}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\) {left}
context-free priorities
{
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{(}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exps}\QUERY \ \LEX{{)}}}\)
} >
{
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \LEX{{-}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \LEX{{+}{+}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{lexp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \LEX{{!}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
} >
{left:
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{*}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{/}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{\PERCENT}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
} >
{left:
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{+}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{-}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
} >
{non-assoc:
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{<}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{<}{=}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{>}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{>}{=}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{=}{=}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{!}{=}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
} >
{assoc:
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{\AMPERSAND}{\AMPERSAND}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
} >
{assoc:
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ \LEX{{|}{|}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
} >
{
\(\SHADE{\quad\SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp} \ ::= \ \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{lexp} \ \LEX{{=}} \ \SYNHYPER{../.}{SIMPLE-THR-2-Expressions}{exp}}\)
}