Leonardo de Moura
e336ff5f93
feat: indentation sensitiviy for macro and elab commands
...
This commit fixes issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Command.20terminator/near/257674790
2021-10-18 17:16:09 -07:00
Leonardo de Moura
284177a80a
feat: missing instances and getOp for byte/float arrays
2021-10-18 16:54:56 -07:00
Leonardo de Moura
2fd024c26f
feat: add support for foldlM, foldl, ForIn instances for byte/float arrays
2021-10-18 16:54:56 -07:00
Leonardo de Moura
d03aaec944
feat: expose new float/byte array primitives
2021-10-18 16:54:56 -07:00
Leonardo de Moura
998bec0dd3
feat: new byte/float array primitives
2021-10-18 16:54:56 -07:00
Sebastian Ullrich
675f477f38
chore: disable macOS Nix CI until I get around to updating it
2021-10-19 00:07:27 +02:00
Leonardo de Moura
499449b66f
chore: add ignore = untracked
2021-10-18 14:39:43 -07:00
Leonardo de Moura
6b2303b243
fix: bug at tryLemmaCore when numExtraArgs > 1
...
Fixes bug reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Simp.20bug.20-.20produces.60application.20type.20mismatch.60/near/257711901
2021-10-18 13:59:19 -07:00
Leonardo de Moura
30be5801e2
chore: update stage0
2021-10-18 07:35:49 -07:00
Leonardo de Moura
ab3861ff62
chore: remove unnecessary "c"
...
and avoid compilation warning messages.
2021-10-18 07:34:17 -07:00
Leonardo de Moura
aa0387e070
chore: update stage0
2021-10-18 07:25:25 -07:00
Siddharth
da4ad465d0
feat: un-inline float intrinsics into runtime. ( #694 )
...
* outline all intrinsics into the runtime.
This is necessary to support backends such as LLVM which do not emit C.
* fix style
2021-10-18 07:20:04 -07:00
Sebastian Ullrich
4cc9072ec3
chore: update stage0
2021-10-18 13:11:04 +02:00
Sebastian Ullrich
d3cf0b8098
fix: deriving Ord on parameterized types
...
Fixes #732
2021-10-18 10:08:13 +02:00
Wojciech Nawrocki
e843fb7ca5
fix: widget messages
2021-10-17 10:01:23 +02:00
tydeu
b1bd3fc304
chore: update Lake
2021-10-15 17:12:29 +02:00
Siddharth Bhat
3374806d0f
refactor: eliminate unused ExtractMonadResult.hasBindInst
2021-10-15 06:57:24 -07:00
Sebastian Ullrich
c2c418b651
chore: update Lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
08dbf239a6
chore: server: redundant let
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
7fdc208c1f
chore: update Lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
7372e2f6cd
chore: update Lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
7a91c494b9
chore: submodule hints
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
74b813fbcd
doc: restructure make/index.md
...
debug builds are not very interesting currently given the state of
debugging Lean code
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
6296151034
chore: update Lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
e67e096086
fix: patch bin/lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
674e473c84
feat: server: support LAKE env var
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
e422ce4917
chore: update Lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
6a1897302b
chore: server: use exit code to communicate absence of package
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
765ed37409
feat: server: support Lake
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
89f9045646
test: add lake tests
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
524be36d23
feat: build & bundle Lake
2021-10-15 06:56:02 -07:00
Chris Lovett
f57e61fead
chore: remove manual shell scripting for compiling libleanrt
2021-10-15 08:08:31 +02:00
Siddharth
66fcfcce37
doc: tutorial on parsing the arithmetic grammar using macros
...
* add arith
* Fixup based on Sebastian's feedback
* style nits
* add explanation about parsing precedence
* add Sebastian's suggest test case
Add the test case into the example to make sure we parse a*b+c as well
as a+b*c correctly.
* grammar pass
* Update doc/tutorial/metaprogramming-arith.md
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
* Update doc/tutorial/metaprogramming-arith.md
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
* use pretty arrows, 2 spaces, [Arith| ... ]
* typo: :+ and :* had sneaked back in
* Update doc/tutorial/metaprogramming-arith.md
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
* Update doc/tutorial/metaprogramming-arith.md
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
* Update doc/tutorial/metaprogramming-arith.md
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
* Update doc/tutorial/metaprogramming-arith.md
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
* move all #print to #check
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2021-10-12 08:51:17 +02:00
Gabriel Ebner
d6ba8e597a
feat: add range parameter to getInteractiveDiagnostics
2021-10-11 22:59:47 +02:00
Sebastian Ullrich
e068833e8d
fix: register missing simp trace classes
2021-10-11 15:37:56 +02:00
Leonardo de Moura
48a40c4d0a
fix: quoteString at EmitC.lean
...
Fix issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Incorrect.20escaping.20of.20.5Cr.20.3F/near/257061704
2021-10-11 06:16:56 -07:00
Leonardo de Moura
002fb7f446
fix: make sure pattern is tried on partial applications
...
This commit fixes issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Pattern.20matching.20lambda.20body.20in.20conv/near/256939753
2021-10-10 15:47:04 -07:00
Leonardo de Moura
04fae18fe4
fix: make sure stop conv pattern stop at first match
2021-10-10 15:47:04 -07:00
Leonardo de Moura
e8bdb66dda
fix: make sure we can match pattern inside binders
...
This commit fixes issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Pattern.20matching.20lambda.20body.20in.20conv/near/256890867
2021-10-10 15:47:04 -07:00
Chris Lovett
2860ba96f5
doc: fix some syntax and link in the docs, and more
2021-10-10 11:36:43 +02:00
Sebastian Ullrich
8d10197164
fix: leanpkg print-paths with longer output
2021-10-10 11:25:11 +02:00
Leonardo de Moura
fb27537b8e
fix: appUnexpander name resolution
...
fixes issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Scoping.20for.20delaborator.3F
2021-10-09 08:29:26 -07:00
Sebastian Ullrich
2ab8a38daa
fix: macOS build, once more
2021-10-09 10:24:30 +02:00
Sebastian Ullrich
1f1dc0b471
fix: macOS Nix build
2021-10-08 21:46:50 +02:00
Gabriel Ebner
34eda689a1
fix: use eraseMacroScopes on trace classes
2021-10-08 11:13:19 -07:00
Leonardo de Moura
d77c99bd2f
chore: update stage0
2021-10-08 09:37:47 -07:00
Leonardo de Moura
81729d96f9
fix: make sure Quot primitives stay in eta expanded form
...
fixes #716
2021-10-08 09:36:06 -07:00
Leonardo de Moura
15ac3c2542
test: small repro for issue #716
2021-10-08 09:36:06 -07:00
Sebastian Ullrich
89d6c70273
fix: macOS build
2021-10-08 18:34:28 +02:00
Sebastian Ullrich
c8b998a607
chore: update stage0
2021-10-08 17:11:30 +02:00