tydeu
429386c4c0
refactor: update print-paths JSON format to match server
2021-10-06 17:52:22 -04:00
tydeu
0f2d6c7fdd
feat: use detected Lean install to build packages
2021-10-06 17:38:57 -04:00
Leonardo de Moura
7f660af4c6
feat: add repeat tactic to conv mode
2021-10-06 14:05:44 -07:00
tydeu
c32cd22504
feat: store detected Lean/Lake install in BuildContext
...
includes new `getLeanIncludeDir` for `BuildM` (leanprover/lake#18 )
2021-10-06 17:01:52 -04:00
Leonardo de Moura
1f2e92ea04
feat: make sure #check produces some result even when there are pending TC problems
...
Lean 3 uses the same approach.
closes #714
2021-10-06 13:37:06 -07:00
tydeu
0196cbe6a3
refactor: move build execution into CLI
2021-10-06 16:27:49 -04:00
Leonardo de Moura
8ec9fda6c4
fix: improve widening operator used at the ElimDeadBranches abstract interpreter
2021-10-06 12:54:07 -07:00
tydeu
93cc196b10
chore: minor code cleanup
2021-10-06 15:22:19 -04:00
Sebastian Ullrich
5873c1f14e
chore: CI: check first commit message of opened PR
2021-10-06 17:30:38 +02:00
Sebastian Ullrich
c2194c2bc1
chore: update to LLVM 13
2021-10-06 14:34:29 +02:00
Leonardo de Moura
eb7f601ea8
chore: updates stage0
2021-10-05 17:04:09 -07:00
tydeu
3bcd18a1c6
refactor: generalize Lean/Lake installation detection
2021-10-05 20:00:30 -04:00
Leonardo de Moura
106adb09b9
fix: simplify allocator
...
Do not move segments between heaps.
We found yet another bug due to this "feature".
The crash is reported here:
https://gist.github.com/semorrison/490496060bbcfa8ea635f3d7be1ac824
@Kha summarized the "root of the evil" as:
using per-heap import lists while segments can be exchanged between heaps doesn't seem compatible.
This is the second bug due to this design decision.
We had fixed one here:
2283ebc5e9/src/runtime/alloc.cpp (L257-L269)
This commit fixes both issues by removing the segment exchange feature.
2021-10-05 16:58:20 -07:00
tydeu
4c0734b5f1
feat: use hash traces for o file, static lib, and bin targets
...
Also rename `.hash` file to `.trace` and add a `package-bootstrap` make job
2021-10-04 19:08:22 -04:00
tydeu
ae144112be
refactor: generalize checkModuleTrace
2021-10-04 18:30:24 -04:00
tydeu
e906f39201
refactor: cleanup Compile.lean
2021-10-04 17:51:47 -04:00
Leonardo de Moura
988e43d2b4
fix: WF should reject definitions that do not take any arguments
2021-10-04 13:24:30 -07:00
Wojciech Nawrocki
07f99eba73
fix: use local context from Info node in widgets
2021-10-04 21:09:44 +02:00
tydeu
a9b87adbeb
feat: print-paths as a JSON object
2021-10-04 12:50:57 -04:00
tydeu
b2acab81d4
refactor: output print-paths build info to stderr
2021-10-04 12:27:14 -04:00
tydeu
3ab3b69293
chore: minor ccide leanup
2021-10-04 12:25:40 -04:00
Sebastian Ullrich
48764b60d5
chore: CI: retry tests on Windows
...
/cc @leodemoura
2021-10-04 11:24:40 +02:00
Leonardo de Moura
85c49cfeb3
feat: apply termination tactic provided by user
2021-10-03 18:47:52 -07:00
tydeu
5b0e264f8c
feat: promote scripts from PackageConifg to top level commands
2021-10-03 21:38:22 -04:00
tydeu
583b534e6c
refactor: simplify / reorder LeanConfig
2021-10-03 21:20:52 -04:00
Leonardo de Moura
23740778d4
refactor: termination hints
2021-10-03 18:09:35 -07:00
Leonardo de Moura
a12ade3da4
chore: fix test
2021-10-03 17:20:16 -07:00
Leonardo de Moura
7ff013a3a2
chore: update stage0
2021-10-03 17:17:51 -07:00
Leonardo de Moura
d22a42358f
feat: add decreasing_tactic notation
2021-10-03 17:16:29 -07:00
tydeu
0ede8f2c4c
chore; minor doc cleanup
2021-10-03 17:09:30 -04:00
Sebastian Ullrich
762304f8b7
doc: fix
2021-10-03 21:19:45 +02:00
tydeu
8852c5e236
feat: use an attribute to identify packages in lakefile
2021-10-03 14:13:49 -04:00
tydeu
50f70712a8
feat: add name to package DSL signature
2021-10-03 13:31:09 -04:00
tydeu
3b28d24319
refactor: make package name a Name
2021-10-03 12:42:24 -04:00
tydeu
d533606a86
chore: update examples/git URL
2021-10-03 00:01:56 -04:00
tydeu
557adf9ffc
refactor: default binRoot to Main and expand init code
2021-10-02 23:41:55 -04:00
Leonardo de Moura
68867d02ac
chore: update stage0
2021-10-02 20:20:26 -07:00
Leonardo de Moura
1cdad2be46
fix: missing info trees at let_mvar% elaborator
2021-10-02 20:19:37 -07:00
tydeu
0f5dd30880
refactor: use an Array for package depedencies
2021-10-02 21:48:23 -04:00
tydeu
7197f60d9c
fix: do not resolve the same dependency multiple times
2021-10-02 21:33:08 -04:00
Leonardo de Moura
53cee4df08
chore: typo
2021-10-02 17:45:08 -07:00
Leonardo de Moura
2b087893a5
chore: update stage0
2021-10-02 17:33:50 -07:00
Leonardo de Moura
c908eec8e5
chore: remove temp priority := high
2021-10-02 17:31:55 -07:00
Leonardo de Moura
5a0974cca6
chore: update stage0
2021-10-02 17:31:17 -07:00
Leonardo de Moura
c24cd877c8
chore: define if-then-else again as a macro
...
We can do it using the new auxiliary notation `let_mvar%` and
`wait_if_type_mvar%`.
2021-10-02 17:30:06 -07:00
Leonardo de Moura
42773941ed
chore: fix test
2021-10-02 17:00:07 -07:00
Leonardo de Moura
740aab923d
chore: update stage0
2021-10-02 16:57:40 -07:00
Leonardo de Moura
1e44902243
fix: add withFreshMacroScope at expandMacroImpl?
2021-10-02 16:57:25 -07:00
Leonardo de Moura
deb77b62df
chore: update stage0
2021-10-02 16:28:47 -07:00
Leonardo de Moura
15347272c7
feat: elaborate wait_* notation
...
We can use to define `if-then-else` using macros
2021-10-02 16:27:22 -07:00