Leonardo de Moura
fb3ea8109f
fix: structure instance parser
2021-07-27 12:54:17 -07:00
Leonardo de Moura
1a62826107
chore: cleanup
2021-07-27 12:41:26 -07:00
Leonardo de Moura
714cadfb31
fix: bug at structure instance notation
...
It was exposed by the second example at #461 .
2021-07-27 11:56:33 -07:00
Sebastian Ullrich
e25edf893c
fix: mark MPZ objects in compacted regions as persistent
2021-07-27 16:35:42 +02:00
Leonardo de Moura
b986bde639
fix: IO.Error.alreadyExists may have an optional file name
...
We got an assertion violation yesterday at `leanpkg` at
```cpp
case EEXIST: case EINPROGRESS: case EISCONN:
lean_assert(fname == nullptr); // <<<<<<< HERE
return lean_mk_io_error_already_exists(errnum, details);
```
2021-07-27 07:00:06 -07:00
Leonardo de Moura
a77598f7cf
feat: user-defined attributes
...
See new test for an example.
closes #513
2021-07-26 18:24:10 -07:00
Leonardo de Moura
cdd1dbbb36
feat: user-defined environment extensions
...
New test demonstrates how to use them.
The user-defined extensions cannot be used in the same file where they
were declared because the `initialize` commands are only executed when
we import the modules containing them.
TODO: user-defined attributes.
2021-07-26 16:18:48 -07:00
Leonardo de Moura
42561bb93f
perf: change is_def_eq_proof_irrel type to lbool
2021-07-26 07:11:55 -07:00
Leonardo de Moura
8a98987e26
chore: use isDefEq heuristic on regular definitions only
2021-07-26 07:11:55 -07:00
Sebastian Ullrich
450293e64a
feat: zero-copy GMP deserialization
2021-07-26 07:11:05 -07:00
Wojciech Nawrocki
43190e0e63
feat: FromToJson for recursive inductives
2021-07-24 10:47:38 +02:00
Wojciech Nawrocki
4073b20b7d
chore: add bcrypt in CMakeLists
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
d6893a3e1f
fix: more robust LspEncoding
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
75feb9c244
chore: fix type and add copyright
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
f27a069773
chore: drop UntypedRef and use monotonic RpcRefs
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
66258b012b
chore: fix windows build
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
102236fdd9
chore: leftover comment
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
ffc6efd5d0
fix: use properly random RPC session id
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
776a0c71aa
feat: add UInt64 unpackings
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
b3d9e90695
feat: IO.getRandomBytes
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
9a5cdaf506
chore: address review 1
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
cfb5d34dd3
fix: parser arity
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
3accff6f48
feat: deriving LspEncoding handler
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
f077dd05d3
feat: RPC ref decrement
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
85dcdcde93
chore: use NonScalar
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
80d90038ad
feat: add Format tags
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
1b42255493
feat: check RPC reference types
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
4a93c9ac1c
chore: purify WorkerM
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
d97e1b91ea
chore: drop RPC wrappers for now
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
b3316fd9c2
feat: RPC handlers
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
f891279957
chore: drop one namespace
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
4d83e79121
feat: more RPC handlers
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
3ec568c110
feat: initial RPC
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
2e6382e1c7
feat: untyped references
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
079c290ce0
feat: JSON serde for Name and USize
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
d716bf0d96
fix: preserve lifted CoreM traces
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
4a3c172ac9
feat: parametrised deriving handlers
2021-07-24 10:45:28 +02:00
Leonardo de Moura
3d402eda3f
chore: missing !
2021-07-23 16:04:02 -07:00
Leonardo de Moura
57b4b8ad1b
chore: disable the kernel "tryHeuristic" for abbreviations
2021-07-23 12:10:16 -07:00
Leonardo de Moura
cce6165d4e
perf: refine tryHeuristic
2021-07-23 12:04:11 -07:00
Leonardo de Moura
0d9c5f5bb8
chore: use zeta expansion at AbstractNestedProofs module
2021-07-23 11:48:59 -07:00
Leonardo de Moura
1630cd3eb5
chore: missing argument
2021-07-23 11:37:28 -07:00
Sebastian Ullrich
1eee82f745
fix: Windows build
2021-07-22 19:50:42 +02:00
Sebastian Ullrich
9ff8e3e7d9
chore: remove obsolete C++ tests
2021-07-22 19:16:04 +02:00
Sebastian Ullrich
2b451a3fed
chore: remove obsolete serializer code
2021-07-22 18:59:39 +02:00
Sebastian Ullrich
5b1cfc25d8
chore: remove obsolete header
2021-07-22 18:26:58 +02:00
Sebastian Ullrich
dc3d94ff61
fix: check arity in notation unexpander
...
Fixes #469
2021-07-22 16:59:19 +02:00
Sebastian Ullrich
98634b5554
fix: $(_):ident is not an infallible pattern
2021-07-22 16:52:06 +02:00
Sebastian Ullrich
5866e2bbb7
chore: use register_parser_alias where possible
...
Fixes #494
2021-07-22 16:28:06 +02:00
Sebastian Ullrich
42e681a5a6
fix: make unterminated comments consume all input
...
Fixes #549
2021-07-22 15:55:12 +02:00