From 9973fcca56f1c6345ac2697210f2f3c7662f5c30 Mon Sep 17 00:00:00 2001 From: rustanleino Date: Thu, 6 May 2010 20:28:29 +0000 Subject: 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 --- Util/Emacs/dafny-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Util/Emacs') diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index da7e59e7..34fc96f2 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -36,7 +36,7 @@ "invariant" "decreases" )) . font-lock-builtin-face) `(,(dafny-regexp-opt '( - "assert" "assume" "break" "call" "then" "else" "havoc" "if" "label" "return" "while" + "assert" "assume" "break" "call" "then" "else" "havoc" "if" "label" "return" "while" "print" "old" "forall" "exists" "new" "foreach" "in" "this" "fresh" "use" "match" "case" "false" "true" "null")) . font-lock-keyword-face) `(,(dafny-regexp-opt '("bool" "int" "object" "set" "seq")) . font-lock-type-face) -- cgit v1.2.3