Commit graph

33954 commits

Author SHA1 Message Date
Sebastian Ullrich
81dca2ceb8 doc: ffi: address review 2021-10-29 08:46:31 -07:00
Sebastian Ullrich
627900ba9f doc: FFI 2021-10-29 08:46:31 -07:00
Leonardo de Moura
5f119cb54f feat: avoid metavariables at CompletionItems
Not sure whether it helps or creates more confusion.
Note that we are still using the `?` prefix for metavariables on the
InfoView and hover info.
2021-10-29 08:01:21 -07:00
Sebastian Ullrich
40cf61f67b doc: very important clarification 2021-10-29 07:52:48 -07:00
Chris Lovett
d3da41bac6
chore: remove unused header from lean.h 2021-10-29 09:43:19 +02:00
tydeu
d518e3df5b refactor: properly manage errors in the build monad 2021-10-28 13:36:07 -04:00
Leonardo de Moura
68120b24b8 feat: add docstring to CompletionItem
closes #746
2021-10-28 08:14:40 -07:00
Sebastian Ullrich
f92d494c48 chore: do not distribute Lake examples 2021-10-28 16:23:14 +02:00
Leonardo de Moura
3367501511 fix: inaccessible annotations at isDefEq issue
Issue was reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Change.20in.20pattern.20matching.3B.20expected.20behaviour.3F/near/259059096

fixes #742
2021-10-27 09:26:12 -07:00
tydeu
781672e935 refactor: generalize Await signature a little 2021-10-27 12:19:02 -04:00
Sebastian Ullrich
b1f7fc1439 fix: CI: copy Homebrew dependencies 2021-10-27 18:16:35 +02:00
Leonardo de Moura
b65da42b7e chore: update stage0 2021-10-26 12:41:23 -07:00
Leonardo de Moura
352391bfcb chore: remove mpz_get_d dependency 2021-10-26 12:40:20 -07:00
Leonardo de Moura
c25758e314 chore: remove mpz dead code 2021-10-26 12:28:33 -07:00
Leonardo de Moura
6d0fa6da7c chore: remove mpz dead code 2021-10-26 12:05:19 -07:00
Leonardo de Moura
fa9c5ad21a chore: remove mpq 2021-10-26 11:56:37 -07:00
Gabriel Ebner
95b769cd5d fix: add missing borrow annotations 2021-10-26 11:51:30 -07:00
Gabriel Ebner
61e0eab23f refactor: reimplement ofScientific for floats 2021-10-26 11:51:30 -07:00
Gabriel Ebner
220ec6e42c chore: add more decimals tests 2021-10-26 11:51:30 -07:00
Gabriel Ebner
5aab241f7a fix: show correct popup for a + b 2021-10-26 20:19:27 +02:00
Gabriel Ebner
c870d7374e chore: update stage0 2021-10-26 20:19:27 +02:00
Gabriel Ebner
9b166d4cf4 Revert "chore: prefer native" 2021-10-26 20:19:27 +02:00
Gabriel Ebner
bfc74decde feat: add info field to Syntax.node 2021-10-26 20:19:27 +02:00
Gabriel Ebner
e21c021f49 chore: update stage0 2021-10-26 20:19:27 +02:00
Gabriel Ebner
b74db2d902 feat: update macros for extra info field 2021-10-26 20:19:27 +02:00
Gabriel Ebner
6efb459d5b chore: prefer native 2021-10-26 20:19:27 +02:00
Gabriel Ebner
aa3d7cd751 chore: update stage0 2021-10-26 20:19:27 +02:00
Gabriel Ebner
6063c662de feat: predictable naming for notation 2021-10-26 20:19:27 +02:00
Gabriel Ebner
422f808bf2 feat: predictable naming for elab_rules 2021-10-26 20:19:27 +02:00
Gabriel Ebner
ce15ea98c5 feat: predictable naming for macro_rules 2021-10-26 20:19:27 +02:00
Gabriel Ebner
babfdb879a feat: add aux_def command 2021-10-26 20:19:27 +02:00
Gabriel Ebner
3818cbc897 fix: lean-gdb 2021-10-26 20:19:27 +02:00
Sebastian Ullrich
9fc0cd0555 feat: make CMAKE_ args for stage 0 overridable using STAGE0_CMAKE_... 2021-10-26 08:27:31 +02:00
Leonardo de Moura
0a3a8d2d3d feat: add mpn module
This is the Z3 bignum module.
2021-10-25 15:57:19 -07:00
Leonardo de Moura
3d1f682144 feat: missing whnf at checkParamsAndResultType 2021-10-25 13:08:43 -07:00
Leonardo de Moura
57f02804f3 feat: use forallTelescopeReducing
This is needed now that we allow definitions at `inductive`.
2021-10-25 13:05:23 -07:00
Leonardo de Moura
3dbd1fd074 chore: style 2021-10-25 13:02:15 -07:00
Leonardo de Moura
80a73dd903 feat: basic support for definitions at inductive declarations 2021-10-25 12:44:35 -07:00
Leonardo de Moura
2b58cb49c9 feat: use whnf at getResultingUniverse 2021-10-25 12:38:56 -07:00
Leonardo de Moura
851ac3809e feat: extend isInductivePredicate 2021-10-25 12:37:04 -07:00
tydeu
b0991cf96b refactor: cleanup Task code some 2021-10-24 22:04:08 -04:00
tydeu
29f6c0fb5a refactor: split logging from BuildM into its own monad 2021-10-24 17:46:28 -04:00
tydeu
333a86ef5f fix: typing mistakes with CliMethodsRef + cleanup 2021-10-24 17:34:40 -04:00
tydeu
e006f8534d feat: add supportInterpreter config setting
also don't use `--export-all` on Windows anymore
2021-10-23 16:16:09 -04:00
tydeu
168ec3d178 perf: cache lean exe trace in BuildM 2021-10-23 14:36:37 -04:00
tydeu
20788e8237 refactor: separate module olean and c traces 2021-10-23 14:02:31 -04:00
tydeu
74276dd024 refactor: update ofByteArray with new primitives
also rename `getFileHash` to `computeFileHash`
2021-10-23 11:34:01 -04:00
tydeu
521311292d chore: bump Lean version 2021-10-23 11:04:51 -04:00
Leonardo de Moura
a741a3dfd4 chore: update stage0 2021-10-22 16:30:14 -07:00
Leonardo de Moura
83cf5b20a1 fix: simpLet
Given `let x := v; b`, `simpLet` was using an incorrect local context to simplify `v`.
2021-10-22 16:29:00 -07:00