Iavor Diatchki
02a5e80c53
Make a module for the instantiation code
2022-12-12 16:55:50 -08:00
Iavor Diatchki
f834e24313
Add scaffolfing for backtick imports
2022-12-12 14:19:07 -08:00
Iavor S. Diatchki
b35170af8c
Merge pull request #1477 from GaloisInc/file-deps
...
Module dependencies without loading
2022-12-05 08:48:45 -08:00
Iavor Diatchki
a85c3a9228
Add type annotations
2022-12-02 15:47:49 -08:00
Iavor Diatchki
2ef0d0db60
Remove typing stuff
2022-12-02 15:03:54 -08:00
Iavor Diatchki
40146551a8
Add a function to compute a dependency tree
2022-12-02 13:43:32 -08:00
Iavor Diatchki
5987dbd1e9
Fix test
2022-12-02 10:46:30 -08:00
Iavor Diatchki
1f1e56c70a
File/module dependencies without loading
2022-12-01 16:23:04 -08:00
Iavor Diatchki
e54971e708
Add support for getting the dependencies of a module without loading it.
...
Hopefully this should be faster as we just
parse the module and expand the includes.
We do not rename, typecheck, or evaluate anything.
2022-11-30 16:10:13 -08:00
Iavor S. Diatchki
1dd175b8f2
Merge pull request #1473 from GaloisInc/file-deps
...
File deps
2022-11-29 13:09:37 -08:00
Iavor Diatchki
3a66cea2c7
Make the REPL and Python API more similar
...
* Also adds a test
* updates CHANGES
* Add `file_deps` to synchronous and single_connection
2022-11-29 11:14:10 -08:00
Iavor Diatchki
e0560df080
Fix some tests
2022-11-28 16:51:13 -08:00
Iavor Diatchki
b250383cd1
Update docs
2022-11-28 16:04:49 -08:00
Iavor Diatchki
ff6b9ac210
Merge remote-tracking branch 'origin/master' into file-deps
2022-11-28 13:36:37 -08:00
Iavor S. Diatchki
bf17c70ae3
Merge pull request #1474 from GaloisInc/python-example
...
Add an example on how to get started with the Python API
2022-11-28 13:34:26 -08:00
Iavor Diatchki
20130d3805
Add "file deps" to the Cryptol API
2022-11-23 16:25:48 -08:00
Iavor Diatchki
60c7fd09ca
Formatting, typos, and add a link to the README
2022-11-23 14:42:03 -08:00
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