blob: af673b097d62378c304e700b1a7726e126dcd96d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
(**************************************************************************)
(* *)
(* Omega: a solver of quantifier-free problems in Presburger Arithmetic *)
(* *)
(* Pierre Crégut (CNET, Lannion, France) *)
(* *)
(**************************************************************************)
(* $Id$ *)
Grammar vernac vernac : ast :=
omega_sett [ "Set" "Omega" "Time" "." ] -> [(OmegaFlag "+time")]
| omega_sets [ "Set" "Omega" "System" "." ] -> [(OmegaFlag "+system")]
| omega_seta [ "Set" "Omega" "Action" "." ] -> [(OmegaFlag "+action")]
| omega_unst [ "Unset" "Omega" "Time" "." ] -> [(OmegaFlag "-time")]
| omega_unss [ "Unset" "Omega" "System" "." ] -> [(OmegaFlag "-system")]
| omega_unsa [ "Unset" "Omega" "Action" "." ] -> [(OmegaFlag "-action")]
| omega_swit [ "Switch" "Omega" "Time" "." ] -> [(OmegaFlag "time")]
| omega_swis [ "Switch" "Omega" "System" "." ] -> [(OmegaFlag "system")]
| omega_swia [ "Switch" "Omega" "Action" "." ] -> [(OmegaFlag "action")]
| omega_set [ "Set" "Omega" stringarg($id) "." ] -> [(OmegaFlag $id)].
Grammar tactic simple_tactic : ast :=
omega [ "Omega" ] -> [(Omega)].
Syntax tactic level 0:
omega [ << (Omega) >> ] -> ["Omega"].
|