summaryrefslogtreecommitdiff
path: root/Source/Dafny/Makefile
Commit message (Collapse)AuthorAge
* Revert Makefile to its prior settingsGravatar Richard L. Ford2016-01-29
| | | | | The prior change did not work for people who had their setup using the previous values.
* Implement 'extern' declaration modifier.Gravatar Richard L. Ford2016-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'extern' declaration modifier provides a more convenient way of interfacing Dafny code with C# source files and .Net DLLs. We support an 'extern' keyword on a module, class, function method, or method (cannot extern ghost). We check the CompileNames of all modules to make sure there are no duplicate names. Every Dafny-generated C# class is marked partial, so it can potentially be extended. The extern keyword could be accompanied by an optional string naming the corresponding C# method/class to connect to. If not given the name of the method/class is used. An 'extern' keyword implies an {:axiom} attribute for functions and methods, so their ensures clauses are assumed to be true without proof. In addition to the .dfy files, the user may supply C# files (.cs) and dynamic linked libraries (.dll) on command line. These will be passed onto the C# compiler, the .cs files as sources, and the .dll files as references. As part of this change the grammar was refactored some. New productions are - TopDecls - a list of top-level declarations. - TopDecl - a single top-level declaration - DeclModifiers - a list of declaration modifiers which are either 'abstract', 'ghost', 'static', 'protected', or 'extern'. They can be in any order and we diagnose duplicates. In addition, since they are not all allowed in all contexts, we check and give diagnostics if an DeclModifier appears where it is not allowed.
* Updated parser generation to work with latest update in boogiepartners. Note ↵Gravatar Rustan Leino2015-07-27
| | | | that Coco.exe is now included in boogiepartners.
* multiple changes...Gravatar Michael Lowell Roberts2015-07-02
| | | | | - fix for requirement inheritance in refinement. - minimimally viable implementation of exclusive refinement feature.
* Allow non-ghost axioms in order to model trusted external calls,Gravatar Bryan Parno2014-10-27
| | | | | e.g., Ironclad's calls to assembly instructions. Also fixed what appeared to be a bug in the Makefile for invoking Coco
* Did more refactoring.Gravatar wuestholz2014-09-23
|
* Did more refactoring.Gravatar wuestholz2014-09-23
|
* Add support for the "include" keyword, which accepts a (possibly relative) pathGravatar Bryan Parno2013-12-10
| | | | | to another Dafny file. That file's functions and methods are included but not checked. This is intended to support incremental verification on a per-file basis.
* Put all sources under \Source directoryGravatar Rustan Leino2012-10-04