| 1 |
Module Type Alphs. |
| 2 |
End Alphs. |
| 3 |
|
| 4 |
Module Symbol(Import A:Alphs). |
| 5 |
|
| 6 |
Inductive symbol :=. |
| 7 |
|
| 8 |
End Symbol. |
| 9 |
|
| 10 |
Module Type Grammar_T. |
| 11 |
Include Symbol. |
| 12 |
End Grammar_T. |
| 13 |
|
| 14 |
Module Type Automaton_T. |
| 15 |
Declare Module Gram:Grammar_T. |
| 16 |
End Automaton_T. |
| 17 |
|
| 18 |
Module Validator_safe(Import A:Automaton_T). |
| 19 |
|
| 20 |
Definition head_symbs_of_state := A.Gram.symbol. |
| 21 |
|
| 22 |
End Validator_safe. |
| 23 |
|
| 24 |
Module Gram. |
| 25 |
|
| 26 |
Include Symbol. |
| 27 |
|
| 28 |
End Gram. |
| 29 |
|
| 30 |
Module Aut. |
| 31 |
|
| 32 |
Module Gram := Gram. |
| 33 |
|
| 34 |
End Aut. |
| 35 |
|
| 36 |
Module Boom := Validator_safe Aut. |