Commit Graph

400 Commits

Author SHA1 Message Date
Thomas M. DuBuisson
1c36537d78 Update for SBV 5.7
Conflicts:
	cryptol.cabal
	src/Cryptol/Symbolic.hs
	src/Cryptol/Symbolic/Prims.hs
2015-12-23 14:13:59 -08:00
Adam C. Foltzer
579ccc96a0 backport prover command interface
Conflicts:
	src/Cryptol/REPL/Command.hs
	src/Cryptol/Symbolic.hs
2015-12-23 14:03:59 -08:00
Adam C. Foltzer
917cc27145 version bump to 2.2.6 2015-12-23 11:33:36 -08:00
Adam C. Foltzer
02a7afb552 Merge branch 'hotfixes/v2.2.5' into releases 2015-10-01 10:22:34 -07:00
Adam C. Foltzer
7d81568555 remove iteSolver option for compat with sbv 5+ 2015-09-30 14:24:21 -07:00
Adam C. Foltzer
243e051df3 bump version number, add SBV upper bound
Conflicts:
	stackage.config
2015-09-29 11:28:30 -07:00
Adam C. Foltzer
44e1b1e4b0 Merge branch 'hotfix/2.2.4' into releases 2015-06-01 15:35:40 -07:00
Adam C. Foltzer
ebaa98699b bump version 2015-06-01 12:34:33 -07:00
Adam C. Foltzer
19ce4d4c48 fixed replicateV during symbolic simulation
Previously this function would always produce a sequence with the
"isWord" bit set to False. It now takes a type argument so that it can
properly set it to True when the elements are Bits.
2015-06-01 12:33:07 -07:00
Adam C. Foltzer
b35dbbd403 Merge branch 'hotfix/2.2.3' into releases 2015-04-30 14:59:35 -07:00
Adam C. Foltzer
8007f97205 prepare for 7.10
- Move the stackage file so it's not on by default (will test with it on
  Jenkins instead of all the time)
- Use CPP to remove unnecessary import warnings in 7.10
2015-04-30 13:53:24 -07:00
Adam C. Foltzer
a07980b652 bump version to 2.2.3 2015-04-30 13:53:24 -07:00
Brian Huffman
267a5d1486 Fix endian-ness bug in (^^) introduced in b6b7e18adb.
Fixes #203.
2015-04-30 13:53:24 -07:00
Brian Huffman
43cd2df448 Bump sbv minimum version to 4.3 2015-04-30 13:53:24 -07:00
Brian Huffman
ba91e37a5d Merge module Cryptol.Symbolic.BitVector into Cryptol.Symbolic.Value 2015-04-30 13:53:24 -07:00
Brian Huffman
c710239bdb Adapt to further changes in SBV 4.3 2015-04-30 13:53:24 -07:00
Brian Huffman
8ddec0a2bc Adapt to use new Data.SBV.Dynamic API in SBV-4.3 2015-04-30 13:53:24 -07:00
Adam C. Foltzer
0f04f0753d Merge branch 'hotfix/2.2.2' into releases 2015-04-30 13:49:20 -07:00
Adam C. Foltzer
6ecd07da73 move Stackage config out of the way
This was rolled into 5768dac, but I don't want to take all of those
changes for this release
2015-04-10 11:25:58 -07:00
Adam C. Foltzer
9eaaa5b8de replace note about cvc4 on PATH 2015-04-10 11:23:00 -07:00
Adam C. Foltzer
2e44c44e2b note about CVC4 from Homebrew 2015-04-10 11:23:00 -07:00
Adam C. Foltzer
53c6283daf update readme with Homebrew info 2015-04-10 11:23:00 -07:00
Adam C. Foltzer
9660f251c2 fix #197
Remove the autoconf hooks from Setup.hs and bump cabal version
requirement so that `license-files` is supported
2015-04-10 11:23:00 -07:00
Adam C. Foltzer
ce36319f09 add upper bound to SBV; bump version 2015-04-10 11:22:38 -07:00
Adam C. Foltzer
300ed3cba9 Merge branch 'release/2.2.1' into releases 2015-03-25 16:35:30 -07:00
Adam C. Foltzer
6cb0da9dfe clean up doc distribution 2015-03-25 13:25:32 -07:00
Adam C. Foltzer
7f57eea48e bump to 2.2.1 2015-03-25 11:30:39 -07:00
Adam C. Foltzer
7ec1106eeb fix problems uncovered by hackage and stackage 2015-03-25 11:13:46 -07:00
Adam C. Foltzer
7deef9c8b2 Merge branch 'release/2.2.0' into releases 2015-03-24 11:56:16 -07:00
Adam C. Foltzer
0536d0f15a update copyright years 2015-03-24 11:19:52 -07:00
Adam C. Foltzer
dd312bd218 clean up how license files are included in dist 2015-03-23 10:42:10 -07:00
Adam C. Foltzer
abf5a49333 add pointer to CRYPTOLPATH in error message 2015-03-20 14:30:33 -07:00
Adam C. Foltzer
7c85517ae2 add environment variable documentation to --help 2015-03-20 14:24:39 -07:00
Adam C. Foltzer
3d9628cf6f clean up warnings and remove dead code 2015-03-20 12:04:01 -07:00
Adam C. Foltzer
40c0bf9395 add latest Stackage LTS for release 2015-03-17 17:06:11 -07:00
Adam C. Foltzer
890e74ff76 bump version for 2.2.0 release 2015-03-17 17:04:21 -07:00
Adam C. Foltzer
1587c01706 bump SBV version for better ABC support 2015-03-17 16:30:49 -07:00
Brian Huffman
37cb5880fd Speed up 'packWord' and 'unpackWord' functions in SBV backend
This greatly speeds up primitives such as 'split' when
applied to very large bitvectors. Fixes #189.
2015-03-17 15:47:34 -07:00
Adam C. Foltzer
293200e722 switch to hackage version of gitrev 2015-03-17 12:03:58 -07:00
Adam C. Foltzer
fe1a2403c9 handle EvalErrors more gracefully in :check
Fixes #114 (mostly; Ctrl-C still doesn't clean everything up, but fixing
that would require a whole lot of work).
2015-03-16 17:17:36 -07:00
Adam C. Foltzer
a46b4c31c2 switch to TH solution for GitRev
This helps with #18 and should also reduce the number of unnecessary
recompiles that were triggered by the Makefile and/or cabal. The cabal
build type is now Simple.

Most of the complication in the TH.hs module is due to the various
places the current git hash might be stored:

1. Detached HEAD: the hash is in `.git/HEAD`
2. On a branch or tag: the hash is in a file pointed to by `.git/HEAD`
in a location like `.git/refs/heads`
3. On a branch or tag but in a repository with packed refs: the hash is
in `.git/packed-refs`

These situations all arise under normal development workflows and on the
Jenkins build machines, but there might be further scenarios that cause
problems. The tradeoff seems worthwhile though as now projects that
build Cryptol as a dependency wind up having to rebuild Cryptol far less
frequently.
2015-03-16 13:18:28 -07:00
Adam C. Foltzer
489a926589 clean up cabal file for Hackagability
Fixes #18
2015-03-09 15:17:26 -07:00
Dylan McNamee
1fd98e02b0 removed property keyword from helper functions. Thanks to Joey Dodds for pointing this out. 2015-03-09 14:43:30 -07:00
Adam C. Foltzer
5fb8521ea7 add abc prover support 2015-03-09 14:20:27 -07:00
Adam C. Foltzer
faab7b0b0a tweak paths in test output for Windows 2015-03-06 12:03:21 -08:00
Adam C. Foltzer
56ab951d7f fixup last commit 2015-03-05 16:10:34 -08:00
Adam C. Foltzer
0c7b21674c add "self-contained" mode for Cryptol-as-a-Library
Many of our projects that depend on Cryptol break because we forgot to
drag along `Cryptol.cry` or it just can't work out where it is from the
perspective of the other executable.

There's now a new flag `self-contained` in `cryptol.cabal` that is on by
default that bakes the contents of the Prelude into the library, so that
it can be reproduced on demand.

This is really a hack at this point because the module system bakes in
the assumption that a module has an associated file path, so we actually
have to write the contents to a tmp file before reading them back
in. Let's do better than this in the future.

This option is disabled for targets in the Makefile because we want the
standalone interpreter to be using the distribution's `Cryptol.cry`.
2015-03-05 15:18:18 -08:00
Adam C. Foltzer
11405230aa tweak to Makefile for Windows dist 2015-03-04 14:53:59 -08:00
Brian Huffman
cadfaced80 Update test for issue #177
The issue is not the set of names in scope, it is the type names
printed out by the :t command. It should use the same names that
are in scope in the module.

If the type of an expression contains a type synonym that is not
in scope at all, then I'm not sure what exactly it should do.
2015-03-04 11:22:37 -08:00
Brian Huffman
0eb57b9674 Add test for issue #177. 2015-03-04 09:58:53 -08:00