source: CIVL/notes/grammar.txt@ bd6628e

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since bd6628e was b9bfd33f, checked in by Stephen Siegel <siegel@…>, 8 years ago

Adding new example for testing parsing of quantified expressions, including with !\exists, etc.
Adding some notes.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@4830 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 420 bytes
Line 
1
2ACSL
3
4\forall decl_list ;
5
6QUANT DECLS SEMI FORMULA
7
8
9Q D ; p ==> q
10Q D ; (p ==> q)
11
12not: (Q D ; p) ==> q
13
14Similar: a+b*c is a+(b*c), not (a+b)*c
15
16(Q D ;)+ NOTQUANTFORM
17
18
19
20a && b || c should be (a && b) || c
21
22but
23
24a && Q D ; p || q is a && (Q D ; p || q)
25
26
27formula: quant | equiv
28
29quant: Q D ; form
30
31equiv: implies (<==> (quant | equiv))?
32implies: or (OR (quant | or))?
33or: and (AND (quant | and))?
34and: ...
Note: See TracBrowser for help on using the repository browser.