Commit graph

23514 commits

Author SHA1 Message Date
Leonardo de Moura
b6bb31a131 feat: "compile" 'extern' axioms 2021-01-13 09:43:25 -08:00
Leonardo de Moura
f6e5b13591 feat: "implement" sorry using panic 2021-01-13 09:43:25 -08:00
Leonardo de Moura
3ca0aef098 feat: generate warning when sorry is used 2021-01-13 09:43:25 -08:00
Sebastian Ullrich
351285a2e8 fix: Nix: I still forget how to handle argument quoting in bash 2021-01-13 16:39:00 +01:00
Sebastian Ullrich
d1eeba3f74 feat: lean4-mode: allow setting lean4-rootdir after initialization 2021-01-13 16:39:00 +01:00
Sebastian Ullrich
a199f35330 fix: leanpkg: do not rely on PATH 2021-01-13 16:39:00 +01:00
Sebastian Ullrich
3a9658b91f chore: obsolete comment 2021-01-13 16:39:00 +01:00
Leonardo de Moura
0c629b4a26 chore: fix tests 2021-01-12 17:19:38 -08:00
Leonardo de Moura
fdc0f906f4 feat: improve error message position for compiler errors 2021-01-12 17:10:11 -08:00
Sebastian Ullrich
1a8af48cca doc: contribution guidelines & README update 2021-01-12 14:38:36 -08:00
Leonardo de Moura
9f7435b5be chore: cleanup Message.toString 2021-01-12 09:57:46 -08:00
Sebastian Ullrich
74c2d1dca9 chore: remove io_state & abstract_type_context 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
4278480ea3 chore: remove io_state_stream 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
79abd5fec6 chore: remove C++ messages 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
298af4f749 chore: Nix: work around NixOS/nixpkgs#109033 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
a6c319a25c chore: remove message_builder from time_task 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
1cb34604cd chore: remove ios & message from tracing 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
b2e42a3ea6 chore: remove --json option 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
7282470f24 fix: Message.toString: use same formatting as C++ code 2021-01-12 09:51:14 -08:00
Leonardo de Moura
e6a9f97c9b chore: update stage0 2021-01-12 08:14:57 -08:00
Leonardo de Moura
42b5e780f5 chore: fix test 2021-01-12 08:14:16 -08:00
Leonardo de Moura
b6abf19656 fix: unfold abbreviations only
For example, we should not reduce types of the form `let x := ...; ...`
2021-01-12 08:11:04 -08:00
Leonardo de Moura
c1f3c724e1 fix: missing alternative 2021-01-12 07:44:31 -08:00
Leonardo de Moura
7160a010d1 chore: fix test 2021-01-12 06:58:35 -08:00
Leonardo de Moura
b5fdc5e364 fix: expand abbreviations at isClass? 2021-01-12 06:56:23 -08:00
Leonardo de Moura
1ebf69e163 fix: simple-match macro 2021-01-12 06:41:32 -08:00
Leonardo de Moura
9aaa52cf66 chore: update stage0 2021-01-11 16:41:29 -08:00
Leonardo de Moura
36008271ea feat: ensure no unassigned metavariables in the declaration header when type is explicitly provided 2021-01-11 16:40:14 -08:00
Leonardo de Moura
3852ee16a0 chore: update stage0 2021-01-11 15:36:37 -08:00
Leonardo de Moura
8d0085ae31 feat: unification hints + type classes 2021-01-11 15:34:57 -08:00
Leonardo de Moura
ec7be1d801 feat: add processAssignment' 2021-01-11 15:22:10 -08:00
Leonardo de Moura
f0992c7022 chore: fix tests 2021-01-11 13:01:04 -08:00
Leonardo de Moura
e91df21e55 chore: update stage0 2021-01-11 12:55:39 -08:00
Leonardo de Moura
5b1b5bed0c chore: naming convention 2021-01-11 12:52:51 -08:00
Leonardo de Moura
84f78edb31 feat: store declaration ranges 2021-01-11 12:50:11 -08:00
Leonardo de Moura
93445848dd feat: use range of inductive/structure for auxiliary constructions 2021-01-11 11:54:07 -08:00
Leonardo de Moura
3388c63e11 fix: typo at ParamInfo.isExplicit 2021-01-11 07:08:17 -08:00
Leonardo de Moura
7dec568ef6 fix: missing withDeclName 2021-01-11 06:50:55 -08:00
Leonardo de Moura
300fcc3321 fix: bug at getStuckMVar? 2021-01-11 06:43:08 -08:00
Leonardo de Moura
be33ca69cd feat: environment extension for storing declaration ranges 2021-01-10 18:25:56 -08:00
Leonardo de Moura
c4259649ed refactor: add MapDeclarationExtension 2021-01-10 18:25:56 -08:00
Mateja Petrovic
00b11f267a
chore: typos 2021-01-10 22:42:54 +01:00
Sebastian Ullrich
332ca33947 chore: Nix: do not compile shell/lean.cpp into leancpp 2021-01-10 18:52:23 +01:00
Sebastian Ullrich
02a4383afb fix: stdlib.make 2021-01-10 18:10:22 +01:00
Leonardo de Moura
ac4961fa37 test: check stdlib doc strings 2021-01-10 07:36:16 -08:00
Leonardo de Moura
ac77df82c0 chore: update stage0 2021-01-10 07:15:29 -08:00
Leonardo de Moura
308c61027a feat: save doc strings
We can now document `let rec` too.
2021-01-10 07:13:33 -08:00
Leonardo de Moura
2c8001a7f3 feat: add DocString.lean 2021-01-10 07:13:33 -08:00
Sebastian Ullrich
3614d8e388 doc: typo 2021-01-10 10:51:00 +01:00
Leonardo de Moura
873634be7e feat: hierarchical InfoTree 2021-01-09 14:10:11 -08:00