We strongly recommend using the links from http://dafny.codeplex.com/ to install Dafny’s IDE support for Emacs, vim, or, if you are using Windows, for Visual Studio via the Visual Studio plugin.
The latter can be installed by double clicking the DafnyLanguageService.vsix
file in the bundle you downloaded.
brew install mono
).Dafny.zip
; create a symbolic link dafny/z3/bin/z3
to your native z3.alias dafny="mono /path/to/Dafny.exe"
.
Now you should be able to run dafny /path/to/src.dfy
.Go through the online guide at http://rise4fun.com/Dafny/tutorial/guide. At the end of the guide are links to additional tutorials. I recommend completing all of them except “Modules”.
Docs/DafnyRef/out/
.