Commit Graph

3245 Commits

Author SHA1 Message Date
Brian Huffman
52c91817d9 Update test output due to changed cryptol prelude. 2021-05-06 14:01:27 -07:00
Brian Huffman
9b7e60b9f4 Add some regression tests for sortBy to test stability of the sort. 2021-05-06 12:03:47 -07:00
Brian Huffman
3b62788841 Add sort and sortBy functions to the Cryptol prelude. 2021-05-06 12:01:33 -07:00
robdockins
ac4500a06c
Merge pull request #1192 from GaloisInc/issue1191
Fix for issue 1191
2021-05-06 09:34:43 -07:00
Rob Dockins
69e7689527 Fix slightly incorrect documentation 2021-05-05 17:46:17 -07:00
Rob Dockins
a05b4eda7f Add test case for issue 1191 2021-05-05 17:43:32 -07:00
Rob Dockins
a0816576cf A bit more documentation 2021-05-05 17:38:59 -07:00
Rob Dockins
6497daede6 Dispatch to shiftSeqByInteger and shiftSeqByWord
in the `BitmapVal` cases of `shiftWordByInteger` and
`shiftWordByWord`.
2021-05-05 17:07:22 -07:00
Rob Dockins
0707bdcd33 Fix #1191
The barrel shifter was being called with the wrong width; the
length of the sequence to be shifted was passed instead of the number
of bits in the index word.
2021-05-05 15:52:48 -07:00
Iavor Diatchki
c62d921fb3 More docs 2021-04-30 15:43:14 -07:00
Iavor Diatchki
402c0cc256 Mess around with html teams 2021-04-30 15:42:49 -07:00
Iavor Diatchki
7a98ab5b9b Make a table for operator precedences 2021-04-30 12:00:46 -07:00
Iavor Diatchki
29eefbc09d A shpynx temaplte for a reference manual 2021-04-29 16:47:54 -07:00
Iavor Diatchki
f43d652337 Improve error message and some tests 2021-04-29 14:42:43 -07:00
Iavor Diatchki
3cb97094b9 Unused extension 2021-04-29 14:42:16 -07:00
Iavor Diatchki
206123aa6c Fixes to the algorithm, and remove old code 2021-04-29 12:15:50 -07:00
Iavor Diatchki
7727197800 Split off tokens and new layout in a separate modules 2021-04-29 11:17:34 -07:00
Iavor Diatchki
76429aaffa Revert to version on master 2021-04-29 10:37:45 -07:00
Iavor Diatchki
5fc3a21c54 Checkpoint: improvements to layout 2021-04-28 17:25:40 -07:00
brianhuffman
282613d320
Merge pull request #1170 from GaloisInc/faster-pmod
Add a shortcut to speed up concrete evaluation of pmod.
2021-04-28 16:31:21 -07:00
Iavor S. Diatchki
eec1fb0bfb
Merge pull request #1183 from GaloisInc/T1182
Don't panic on ambig, so that we have a chance to report the error
2021-04-27 18:44:26 -07:00
Matthew Yacavone
0edcbfcb4e
Merge pull request #1173 from GaloisInc/rpc/more-examples
rpc: add more tests
2021-04-27 18:02:22 -04:00
Iavor Diatchki
df1e574e96 Don't panic on ambig, so that we have a chance to report the error
Fixes #1182
2021-04-27 15:00:35 -07:00
Matthew Yacavone
fe62c14735 Merge branch 'master' into rpc/more-examples 2021-04-27 15:55:43 -04:00
Matthew Yacavone
79505847df
Merge pull request #1181 from GaloisInc/rpc/refactor-init-py
rpc: Move contents of __init__.py to new commands.py, connection.py files
2021-04-27 15:53:33 -04:00
Matthew Yacavone
e431ce9f14 add all submodules to __all__ 2021-04-23 18:54:22 -04:00
Matthew Yacavone
d5d0c1d2ea restore old __init__.py imports, in case anyone uses them 2021-04-23 15:44:51 -04:00
Matthew Yacavone
e4345a89c4 move contents of __init__.py to commands.py, connection.py 2021-04-23 15:29:32 -04:00
Matthew Yacavone
90baa856f2 whoops, added back result() to test-cryptol-remote-api.py 2021-04-23 14:54:36 -04:00
Matthew Yacavone
9572ddbbf4 update evaluate_expression call in test-cryptol-remote-api.py 2021-04-23 14:02:29 -04:00
Iavor S. Diatchki
74c5f4efdc
Merge pull request #1171 from GaloisInc/T1169
T1169
2021-04-22 21:39:11 -07:00
Iavor Diatchki
54780379cf Rename files to have correct OS extension 2021-04-22 16:39:37 -07:00
Andrew Kent
62707426be feat(rpc): safe for python api (#1168)
* feat(rpc): safe for python api

* refactor: use enum for smt query type

* Update cryptol-remote-api/python/cryptol/__init__.py

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>

* Update cryptol-remote-api/python/cryptol/__init__.py

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>
2021-04-22 16:39:37 -07:00
Ryan Scott
2c00714a2b Use correct link for GitHub Actions README badge 2021-04-22 16:39:37 -07:00
Andrew Kent
9995513098
chore: ensure run_rpc_tests.sh uses up-to-date server binaries (#1174) 2021-04-22 16:16:28 -07:00
Iavor Diatchki
b2a8a23798 Remove constraints on cabal install, as we made the most progress with that... 2021-04-22 15:13:52 -07:00
Iavor Diatchki
a7daa1e9c0 Overwrite test-runner if it was already there 2021-04-22 14:18:28 -07:00
Iavor Diatchki
c16583230a Print test-runner version, and always build it. 2021-04-22 14:04:15 -07:00
Lisanna Dettwyler
ec614b26cd Fix test-lib step 2021-04-22 12:35:17 -07:00
Matthew Yacavone
8528e1dbf3 Merge branch 'master' into rpc/more-examples 2021-04-22 15:00:49 -04:00
Matthew Yacavone
bc03778420 add test_EvenMansour 2021-04-22 14:55:52 -04:00
Andrew Kent
966b3431c1
feat(rpc): safe for python api (#1168)
* feat(rpc): safe for python api

* refactor: use enum for smt query type

* Update cryptol-remote-api/python/cryptol/__init__.py

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>

* Update cryptol-remote-api/python/cryptol/__init__.py

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>
2021-04-22 11:27:31 -07:00
Iavor Diatchki
a25fde4473 Correct how to specify constraint 2021-04-22 10:40:33 -07:00
Matthew Yacavone
57778d18e2 Merge branch 'master' into rpc/more-examples 2021-04-22 13:01:10 -04:00
Iavor Diatchki
b572b086b0 Require version 0.3 of test-lib 2021-04-22 09:08:19 -07:00
Iavor Diatchki
4e0da53ff3 Change freeze files to use test-lib 0.3 2021-04-21 17:20:37 -07:00
Iavor Diatchki
0c65f5e82b Change CI to use test-lib-0.3 and add a windows test for modsys/T18 2021-04-21 15:33:29 -07:00
Iavor Diatchki
aa7cce1668 Require version 0.3 of test-runner and a windows specific result for the test 2021-04-21 14:38:37 -07:00
Lisanna Dettwyler
867096c07f
Merge pull request #1172 from GaloisInc/fix-gha-readme-badge
Use correct link for GitHub Actions README badge
2021-04-21 12:08:28 -07:00
Ryan Scott
1681707bd0 Use correct link for GitHub Actions README badge 2021-04-21 11:57:44 -04:00