Aaron Tomb
692c814776
Don't add an extra copy of Programming Cryptol ( #970 )
...
Two different Makefiles each copied it and used different file names.
Closes #969 .
2020-11-17 09:26:03 -08:00
Brian Huffman
97b967c8bd
Update generated pdf.
2020-10-14 10:47:28 -07:00
Brian Huffman
36b8bd2e07
Fix miscellaneous typos in Syntax.md.
2020-10-13 11:09:51 -07:00
Brian Huffman
754c6ac59b
Remove errant comma in exercise solution in the book.
2020-10-13 11:08:12 -07:00
Brian Huffman
33d6ae77b7
Fix description of lg2
in exercise answer in the book.
...
This is one of the errors mentioned in issue #931 .
2020-10-13 11:06:52 -07:00
Brian Huffman
a23267fe3d
More accurate descriptions for lg2
and width
in book appendix.
...
Fixes #931 .
2020-10-13 10:53:32 -07:00
Brian Huffman
e08cac3828
Remove redundant word "Size" in table of built-in type-level operators.
...
We have decided to avoid the term "size type" in favor of
"numeric type" (#597 ), and the word is uninformative in this
context anyway.
2020-10-13 10:39:25 -07:00
Rob Dockins
6b9a9f1294
Fix book typos
2020-09-29 21:50:30 -07:00
Rob Dockins
9822d5fd9a
Update documentation and reference interpreter
2020-09-29 14:55:05 -07:00
Brian Huffman
41532cc5e0
Update generated ProgrammingCryptol.pdf.
2020-09-23 11:15:59 -07:00
Brian Huffman
c938793107
Replace usage of zipWith (^)
with (^)
in a book example.
...
Fixes #803 .
2020-09-23 11:15:59 -07:00
Brian Huffman
f6d9f4b0e9
Fix mixed-up solutions to book exercises about any
and all
.
...
This fixes an issue mentioned in a comment to #887 .
2020-09-23 11:15:59 -07:00
Brian Huffman
6676702f7f
Fix wrong inferred type for twoPlusXY
in book exercise.
...
Fixes #887 .
2020-09-23 11:15:59 -07:00
Brian Huffman
206cb5ef44
Switch toInteger
to fromZ
in book example.
...
Fixes #873 .
2020-09-23 11:15:59 -07:00
Brian Huffman
c4299a148b
Add missing ']' in book example.
...
Fixes #880 .
2020-09-23 11:15:59 -07:00
Rob Dockins
04bd63380e
Edit reference semantics for style and update PDF
2020-09-02 10:26:23 -07:00
Aaron Tomb
5100132e4c
Tweak a few things for 2.9.0 ( #833 )
...
* Fix Dockerfile
* Include version number in CHANGES.md
* Update copyright dates
* Don't include cryptol-specs in release archives
* Remove duplicate copy of Programming Cryptol
2020-07-28 08:41:27 -07:00
Iavor Diatchki
39acf61ee5
Update documentation with info about floats + fractional literals
2020-07-14 15:36:37 -07:00
Rob Dockins
0d7d98bcfb
Add a trivial "parmap" implementation to the reference interpreter.
2020-07-09 10:54:03 -07:00
Brett Boston
0e35995ee4
Document element type constraints for enumerations
2020-07-08 10:13:55 -07:00
weaversa
d4b4d5fe2f
wording fix
2020-07-05 14:54:34 -04:00
Brett Boston
a87684aad4
Clarify that each file can only contain a single module
2020-06-30 19:10:33 -07:00
robdockins
87d5edab00
Documentation updates ( #779 )
...
* Add docstrings for all prelude functions and fix minor style issues.
Fixes #771
* Update `CryptolPrims` documentation
* Minor updates to the prelude
* Update CHANGES
* Updates to the cryptol book and CryptolPrims
* Fix several additional docstrings
* Specify and document properties of signed bitvector division.
Fixes #677
* Fixup test
* typos and style
* Regenerate PDFs
2020-06-30 10:58:25 -07:00
Brett Boston
f742b1614a
Document polynomial syntax + escape pipes in Version2Table
2020-06-26 15:32:47 -07:00
Brett Boston
b136902476
Correct definition of rotate
in Section 3.3
...
Closes #758
2020-06-18 17:44:38 -07:00
Brett Boston
8b6581f263
Fix typo in definition of distributed property of gf28DotProduct
...
Closes #762
2020-06-18 17:37:17 -07:00
Rob Dockins
c09ee13f27
Update documentation PDFs
2020-06-04 13:39:00 -07:00
Rob Dockins
897f631910
Fix reference semantics of the signed bitvector primitives
2020-05-27 15:34:58 -07:00
Rob Dockins
e2f45ee5e4
Update documentation PDFs
2020-05-27 14:21:46 -07:00
Rob Dockins
542debdb67
Documentation tweaks
2020-05-27 14:21:17 -07:00
Rob Dockins
2cb904ec46
Update documentation
2020-05-15 15:28:44 -07:00
Iavor Diatchki
2219aca55c
Document lifted selectors.
...
Fixes #303
2020-05-05 14:59:45 -07:00
Brian Huffman
5d19320bfa
Regenerate pdf of Programming Cryptol book.
2019-06-20 11:07:36 -07:00
Brian Huffman
c62a88a8ec
Regenerate Syntax.tex from Syntax.md.
2019-06-20 11:07:18 -07:00
Brian Huffman
bf2a235c1c
Regenerate ProgrammingCryptol.pdf.
2019-06-20 11:03:14 -07:00
Brian Huffman
7da982ab2d
Update old cryptol-1 syntax in example code.
2019-06-20 10:54:06 -07:00
Brian Huffman
030349f6de
Fix outdated usage of value-level function width
in Cryptol book.
...
It is now called `length` and has a generalized type.
Cf. #549 .
2019-06-20 10:47:40 -07:00
Brian Huffman
b83d887551
Update generated Syntax.pdf.
2019-06-19 11:25:46 -07:00
Brian Huffman
8d2f1ed2ba
Add examples of x @ i = e
syntax to Syntax.md.
2019-06-19 11:25:30 -07:00
Brian Huffman
088126076e
Remove trailing whitespace.
2019-06-19 11:24:59 -07:00
Iavor Diatchki
d428f64bdc
Add some examples about how to write Cryptol expressions.
2019-05-30 10:29:35 -07:00
Iavor Diatchki
afe89d2ad4
Add examples of doing record updates
2019-03-01 11:10:28 -08:00
Brian Huffman
6b53cd0c2f
Fix typo in documentation.
2019-02-28 10:46:41 -08:00
Brian Huffman
e59c9abfbb
Remove [x..]
and [x,y..]
syntax from documentation.
2019-02-28 10:38:38 -08:00
Brian Huffman
24fb6c9511
Remove unused primitive fromThen
.
2019-02-27 16:57:00 -08:00
Iavor Diatchki
6a8c6c3134
Update Syntax.md and re-sync it with Syntax.tex
...
Note that Syntax.tex should be generated automatically
2019-02-18 17:20:01 -08:00
Aaron Tomb
231fe95a40
Add note in manual about satNum
and Integer
2018-11-01 08:25:23 -07:00
Aaron Tomb
ba140fb70a
Update Programming in Cryptol PDF
2018-07-30 16:36:04 -07:00
Aaron Tomb
b111e78a30
Minor fixes to Programming in Cryptol
2018-07-27 16:09:50 -07:00
Brian Huffman
f609b36225
Rename primitive demote
to the more self-explanatory name number
.
...
The name "demote" is only meaningful to those who already know what
the Cryptol primitive does. Also, due to recent changes in the error
and warning messages, the name "demote" is showing up much more often
in REPL output. For example:
Defaulting type argument 'rep' of 'demote' to [2]
Showing a specific instance of polymorphic result:
* Using 'Integer' for type argument 'rep' of 'Cryptol::demote'
These messages will hopefully be made less confusing to non-experts
if the name "demote" is replaced with "number".
2018-07-27 13:52:57 -07:00