Iavor Diatchki
261883e32e
Add an example on how to get started with the Python API
2022-11-23 11:34:36 -08:00
Iavor Diatchki
6c886224ef
Make it build
2022-11-23 10:54:20 -08:00
Iavor Diatchki
9071432a7e
Fix capitalization
2022-11-23 10:54:11 -08:00
Iavor Diatchki
8416a91182
Add a command to show dependencies in JSON
...
This should help with #1332
2022-11-22 16:16:36 -08:00
Iavor Diatchki
ef8391ffd0
Group file related information together.
...
This also changes us to keep track of the names
of imported modules rather than the files. This
makes it possible to print a whole dependency tree,
as we already have a way to get the filename and figerpreint
of loaded modules
2022-11-22 14:24:55 -08:00
Iavor Diatchki
74ceb6b11f
Keep track of the files used by a module
2022-11-22 13:41:14 -08:00
Iavor Diatchki
fe00904e38
Remove mImports
from typechecked modules.
...
This wasn't well specified or used for anything.
2022-11-22 11:48:27 -08:00
Iavor Diatchki
b6f744f983
Checkpoint: store include
-ed files
2022-11-22 11:33:38 -08:00
Iavor Diatchki
fa8fa4617e
Merge remote-tracking branch 'origin/master' into functors-merge
2022-11-21 16:33:27 -08:00
Iavor S. Diatchki
68a0ff358d
Merge pull request #1468 from GaloisInc/T1465
...
Improve the documentation of `fromInteger`
2022-11-21 16:16:38 -08:00
Iavor Diatchki
eaf7baaacb
Fix test
2022-11-21 15:14:47 -08:00
Iavor Diatchki
61d2153271
Fix location
2022-11-21 14:09:10 -08:00
Iavor Diatchki
555615e5d8
Update test with new location
2022-11-21 13:27:05 -08:00
Iavor Diatchki
0948f4940d
Fix a test
2022-11-21 10:56:23 -08:00
Iavor Diatchki
18e3563c2c
Don't panic if we fail to resolve a top-level instnatiation
...
Fixes #1470
2022-11-21 10:40:20 -08:00
Iavor Diatchki
aa8969d64a
Update CHANGES to mention set-seed
and new-seed
2022-11-21 10:32:00 -08:00
Iavor Diatchki
11c0efe1d8
Fixup line numbers in docs and update CHANGES
2022-11-21 10:24:56 -08:00
Iavor Diatchki
ba4a9d8c74
Remove accidentally commited change
2022-11-17 09:36:05 -08:00
Iavor Diatchki
3bbfd455d7
Improve the documentation of fromInteger
.
...
Fixes #1465
2022-11-17 09:33:42 -08:00
Iavor Diatchki
c2cda89aa2
Another white space fix
2022-11-16 15:44:43 -08:00
Iavor Diatchki
b5d7cfed2b
Don't touch fake names
2022-11-16 15:40:15 -08:00
Iavor Diatchki
7faf665fd3
Fix tests
2022-11-16 15:40:05 -08:00
Iavor Diatchki
ced1c56205
Add some tests
2022-11-16 14:44:39 -08:00
Iavor S. Diatchki
9f94adceaa
Merge pull request #1467 from m10f/feature/dump-tests-seed
...
Add handling for seedable RNG in cryptol REPL
2022-11-16 14:37:34 -08:00
Iavor Diatchki
2c3bc87808
Fixes scoping issues with renaming instantiations
...
Fixes #1466
2022-11-16 14:25:21 -08:00
Iavor Diatchki
151efaf53b
Add a PP instance for TopEntity and improve PP instance for modules
...
At present these are just for debugging and make no effort
to follow a specific syntax
2022-11-16 08:29:12 -08:00
Iavor Diatchki
233cacaedf
Comment typo
2022-11-15 17:43:46 -08:00
James LaMar
3b9cea31a7
Preserve previous Random API
2022-11-15 11:53:50 -08:00
James LaMar
09afc2f0a4
Add handling for seedable RNG in cryptol REPL
2022-11-14 15:54:52 -08:00
Iavor Diatchki
520eeae661
Fix the pretty printing for interfaces.
2022-11-14 10:33:31 -08:00
Iavor Diatchki
29a63a09ef
Copy the syntax-highlight directory under share/cyrptol for installation
2022-10-26 14:05:48 -07:00
Iavor Diatchki
d5fb4d4e20
Fix name of syntax highlight file.
2022-10-26 13:32:26 -07:00
Iavor Diatchki
5173c8effe
Update CHANGES
2022-10-26 13:30:53 -07:00
Iavor S. Diatchki
6de5c49077
Merge pull request #1463 from GaloisInc/vim-syntax-highlight
...
Vim syntax highlight
2022-10-26 13:29:01 -07:00
Iavor Diatchki
d0d854cf33
Add a syntax highlighter for vim
2022-10-26 12:07:21 -07:00
Iavor Diatchki
49540a1e15
Remove unused or repeated cases
2022-10-26 12:07:05 -07:00
Iavor S. Diatchki
13cb10384b
Merge pull request #1461 from GaloisInc/functors-iface-tysyn
...
Have a go at allowing type synonyms in interfaces.
2022-10-26 08:10:11 -07:00
Iavor Diatchki
2d359532f4
Update the documentation
2022-10-25 15:18:58 -07:00
Iavor Diatchki
1f6f7ccc93
Add some tests
2022-10-25 15:13:01 -07:00
Iavor Diatchki
4f4c202c51
Make the help work for type synonyms defined in interfaces.
2022-10-25 12:29:38 -07:00
Iavor Diatchki
d0562afb10
Refactor to separate constraints and declarations. Order declarations properly.
2022-10-25 12:18:15 -07:00
Iavor Diatchki
bde2ecc550
Use the location of the parameters as it is more accurate.
2022-10-25 09:40:26 -07:00
Iavor Diatchki
dc4b34411c
Have a go at allowing type synonyms in interfaces.
...
Not at all tested.
2022-10-24 18:08:53 -07:00
Iavor Diatchki
c5e86624c8
Rename Signature to Iface + comments
2022-10-21 14:56:27 -07:00
Iavor Diatchki
20f8a368eb
Add/improve haddocks
2022-10-21 10:18:56 -07:00
Iavor Diatchki
9701b373c5
Check that when evaluating things we do not use either value or type paramxs.
...
Fixes #1458
2022-10-20 12:42:25 -07:00
Iavor Diatchki
8922877236
Allow loading interfaces.
...
When loaded an interface is treated like an empty functor.
Adding this capability would also be useful if we generalize
interfaces to allow for definitions, as discussed in #1457
This also fixes #1456
2022-10-14 16:35:04 +03:00
Iavor Diatchki
8de5a7921f
Add pretty printing instances for parameters.
...
This is mostly for debugging.
2022-10-14 15:38:43 +03:00
Iavor Diatchki
b66d990343
Rename "signature" to "interface" to follow standard naming
2022-10-14 11:33:26 +03:00
Iavor Diatchki
b0ccbb7f2e
Preserve number of predicates in schema when applying a substitution
...
Fixes #1450
2022-10-14 11:17:33 +03:00