forked from dafny-lang/dafny
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python progress - getting the file picked up at least
- Loading branch information
Showing
15 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-arithmetic.doo
Binary file not shown.
Binary file modified
BIN
-11 Bytes
(99%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-cs.doo
Binary file not shown.
Binary file modified
BIN
-10 Bytes
(99%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-go.doo
Binary file not shown.
Binary file modified
BIN
-11 Bytes
(99%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-java.doo
Binary file not shown.
Binary file modified
BIN
-11 Bytes
(99%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-js.doo
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(99%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-notarget.doo
Binary file not shown.
Binary file modified
BIN
+288 Bytes
(160%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries-py.doo
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Source/DafnyStandardLibraries/binaries/DafnyStandardLibraries.doo
Binary file not shown.
File renamed without changes.
6 changes: 0 additions & 6 deletions
6
Source/DafnyStandardLibraries/src/DafnyStdLibs/FileIO/FileIO-py.dfy
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
Source/DafnyStandardLibraries/src/DafnyStdLibs/FileIO/FileIOInternalExterns-py.dfy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/******************************************************************************* | ||
* Copyright by the contributors to the Dafny Project | ||
* SPDX-License-Identifier: MIT | ||
*******************************************************************************/ | ||
|
||
/* | ||
* Private API - these are intentionally not exported from the module and should not be used elsewhere | ||
*/ | ||
module {:compile false} DafnyStdLibs.FileIOInternalExterns { | ||
method | ||
{:extern} | ||
INTERNAL_ReadBytesFromFile(path: string) | ||
returns (isError: bool, bytesRead: seq<bv8>, errorMsg: string) | ||
|
||
method | ||
{:extern} | ||
INTERNAL_WriteBytesToFile(path: string, bytes: seq<bv8>) | ||
returns (isError: bool, errorMsg: string) | ||
} |
5 changes: 5 additions & 0 deletions
5
Source/DafnyStandardLibraries/src/DafnyStdLibs_FileIOInternalExterns.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Module: DafnyStdLibs_FileIOInternalExterns | ||
|
||
@staticmethod | ||
def INTERNAL_ReadBytesFromFile(i): | ||
return i * i |