diff options
author | rustanleino <unknown> | 2010-05-06 20:28:29 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2010-05-06 20:28:29 +0000 |
commit | a2f70f46e1a4dfb513df45657178399269cec67d (patch) | |
tree | bacc4d411170492170faa80fd619a009da602650 /Util/latex | |
parent | e9c25e761ad3a5e31e077f7bb595bfc10618c2bb (diff) |
Dafny:
* First crack at a compiler (/compile:1 writes out.cs, if Dafny program verifies)
* Added "print" statement (to make running compiled programs more interesting)
* Changed name of default class from $default to _default
Boogie:
* Included "lambda" as a keyword in emacs and latex style files
Diffstat (limited to 'Util/latex')
-rw-r--r-- | Util/latex/boogie.sty | 1 | ||||
-rw-r--r-- | Util/latex/dafny.sty | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Util/latex/boogie.sty b/Util/latex/boogie.sty index bda9f10a..30a18b82 100644 --- a/Util/latex/boogie.sty +++ b/Util/latex/boogie.sty @@ -53,6 +53,7 @@ {<==>}{$\Longleftrightarrow$}4
{forall}{$\forall$}1
{exists}{$\exists$}1
+ {lambda}{$\lambda$}1
% the following isn't actually Boogie, but it gives the option to produce nicer latex
{<<}{$\langle$}1
{>>}{$\rangle$}1
diff --git a/Util/latex/dafny.sty b/Util/latex/dafny.sty index 641584b6..2b9918f9 100644 --- a/Util/latex/dafny.sty +++ b/Util/latex/dafny.sty @@ -13,7 +13,7 @@ % expressions
match,case,false,true,null,old,fresh,this,
% statements
- assert,assume,new,havoc,call,if,then,else,while,invariant,break,return,foreach,
+ assert,assume,print,new,havoc,call,if,then,else,while,invariant,break,return,foreach,
},
literate=%
{:}{$\colon$}1
|