Commit Graph

156 Commits

Author SHA1 Message Date
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
Brian Huffman
34e6a18efe Fix Cryptol output in exercise solution in the book. 2018-07-27 13:18:03 -07:00
Brian Huffman
35ccec83ce Fix some typos in comments/docs. 2018-07-27 13:17:45 -07:00
Aaron Tomb
1bd0b813e0 Add a table of type-level operators to the book 2018-07-27 10:23:55 -07:00
Aaron Tomb
afd9df342b Better wording for multi-way conditional appendix 2018-07-27 10:23:29 -07:00
Aaron Tomb
7027b599a7 Update some copyright notices 2018-07-26 09:08:32 -07:00
Brian Huffman
4d84989b60 Edits to AES chapter of the book. 2018-07-25 15:12:13 -07:00
Brian Huffman
951eacc8ff Fix some index entry names in the book. 2018-07-24 13:03:32 -07:00
Aaron Tomb
35452a6a9e Add example of using the === operator 2018-07-23 13:19:13 -07:00
Brian Huffman
863c165c66 Update syntax appendix of Cryptol book. 2018-07-20 18:13:15 -07:00
Brian Huffman
1eaabf87aa Miscellaneous edits to the book. 2018-07-20 15:48:46 -07:00
Brian Huffman
891b7fe914 Update exercises in chapter 1 of the book. 2018-07-20 15:48:10 -07:00
Brian Huffman
317893a564 Updates to "High-assurance programming" chapter of the book. 2018-07-20 12:20:59 -07:00
Brian Huffman
73a8c19b58 Update cryptol primitives appendix in the book. 2018-07-20 09:48:31 -07:00
Brian Huffman
eef8924dfe Update operator names in Cryptol book index. 2018-07-20 09:00:29 -07:00
Brian Huffman
6201415c66 Remove index entries and text about non-existent :i, :p commands. 2018-07-20 08:28:35 -07:00
Brian Huffman
dd2c4b6507 Introduce command for more uniform exercise references in the book. 2018-07-19 18:25:55 -07:00
Brian Huffman
af6b830162 Use autoref command and lowercase section refs consistently in the book. 2018-07-19 18:00:17 -07:00