Leonardo de Moura
|
340cade575
|
fix: bug at specialize.cpp
|
2020-12-20 17:48:46 -08:00 |
|
Leonardo de Moura
|
76eb163a0f
|
chore: use new pretty printer at specialize trace messages
|
2020-12-20 16:44:55 -08:00 |
|
Leonardo de Moura
|
2da48e8739
|
feat: use new pretty printer to trace all compiler steps
|
2020-12-20 16:44:40 -08:00 |
|
Sebastian Ullrich
|
bc3e9ce961
|
feat: if let pat ← ...
|
2020-12-20 23:58:29 +01:00 |
|
Sebastian Ullrich
|
90f747e346
|
fix: don't change antiquotations semantics in do if
|
2020-12-20 17:51:37 +01:00 |
|
Sebastian Ullrich
|
a56fd6a8c0
|
chore: Quotation: minor comments fixes
|
2020-12-20 16:46:03 +01:00 |
|
Sebastian Ullrich
|
83304b8a0c
|
chore: Nix: preserve source paths in debug builds
|
2020-12-20 16:46:03 +01:00 |
|
Sebastian Ullrich
|
eeb0cad29e
|
feat: if let
/cc @leodemoura
|
2020-12-20 16:46:03 +01:00 |
|
Sebastian Ullrich
|
94ef018d6e
|
chore: update stage0
|
2020-12-20 13:53:02 +01:00 |
|
Sebastian Ullrich
|
fdbec9101f
|
fix: pattern reordering in syntax match
|
2020-12-20 13:52:25 +01:00 |
|
Leonardo de Moura
|
acfdd7d5b7
|
fix: doc
Example only works with `defaultInstance` for `ToString`.
|
2020-12-19 23:06:04 -08:00 |
|
Leonardo de Moura
|
fcd55b598b
|
chore: update stage0
|
2020-12-19 20:01:48 -08:00 |
|
Leonardo de Moura
|
91f0e29285
|
feat: parallel for
|
2020-12-19 20:01:04 -08:00 |
|
Leonardo de Moura
|
ff9858aa87
|
chore: update stage0
|
2020-12-19 19:27:52 -08:00 |
|
Leonardo de Moura
|
0911936502
|
feat: parallel for notation
|
2020-12-19 19:26:53 -08:00 |
|
Leonardo de Moura
|
339a4cf740
|
chore: remove defaultInstance for ToString
|
2020-12-19 19:10:42 -08:00 |
|
Leonardo de Moura
|
074259201e
|
feat: add helper classes for implementing parallel for
It is based on an approach suggested by Andrew Kent, and refined by
Sebastian Ullrich.
TODO: expand the the parallel `for`s at `Do.lean`.
|
2020-12-19 14:15:47 -08:00 |
|
Sebastian Ullrich
|
efc2b79aba
|
feat: as patterns in syntax match
@leodemoura no problem using the new architecture :)
|
2020-12-19 22:03:37 +01:00 |
|
Sebastian Ullrich
|
5b06e1011f
|
fix: completely refactor syntax match handling, introduce "undecided" patterns to resolve complex cases
|
2020-12-19 22:03:37 +01:00 |
|
Leonardo de Moura
|
bbcd2247f2
|
feat: extend valid set of valid auto bound names
@Kha The motivation was Andrew's example :)
Users often use `u₁`, `u1`, `u₂`, ... to name universe variables.
|
2020-12-19 12:36:19 -08:00 |
|
Leonardo de Moura
|
498dae8fab
|
chore: add trace messages
|
2020-12-19 12:26:37 -08:00 |
|
Leonardo de Moura
|
987b719048
|
chore: update stage0
|
2020-12-18 14:35:28 -08:00 |
|
Leonardo de Moura
|
68701b86e4
|
feat: add Repr Name
|
2020-12-18 14:32:49 -08:00 |
|
Leonardo de Moura
|
d22c5cb1b0
|
feat: add deriving Repr
|
2020-12-18 14:19:43 -08:00 |
|
Leonardo de Moura
|
793ffa2f11
|
feat: add helper class ReprAtom
|
2020-12-18 14:14:46 -08:00 |
|
Leonardo de Moura
|
230a5aca7e
|
test: mutual deriving BEq test
|
2020-12-18 12:36:16 -08:00 |
|
Leonardo de Moura
|
b6905f66d6
|
fix: missing files
|
2020-12-18 11:47:00 -08:00 |
|
Leonardo de Moura
|
6890b43366
|
refactor: generalize Deriving.Util auxiliary methods
|
2020-12-18 11:43:37 -08:00 |
|
Leonardo de Moura
|
a1d2ba0b61
|
feat: add test for new repr
|
2020-12-18 11:21:30 -08:00 |
|
Leonardo de Moura
|
92f0afa424
|
chore: fix tests
|
2020-12-18 11:21:30 -08:00 |
|
Leonardo de Moura
|
5f6e66a53f
|
refactor: Repr
Modifications:
- Result type is `Format`
- It takes the context precedence like Haskell `Show`
|
2020-12-18 11:21:30 -08:00 |
|
Leonardo de Moura
|
2e11c3bdff
|
feat: dependencies
|
2020-12-18 11:21:30 -08:00 |
|
Leonardo de Moura
|
40bfafdadb
|
refactor: dependencies
|
2020-12-18 11:21:30 -08:00 |
|
Leonardo de Moura
|
15335efae2
|
refactor: move Format to Init package
We are going to use it to define `Repr` class.
|
2020-12-18 11:21:30 -08:00 |
|
Sebastian Ullrich
|
1fc5b30fe1
|
chore: measure stage 2 sizes & add C lines benchmark
|
2020-12-18 17:47:11 +01:00 |
|
Sebastian Ullrich
|
7f2caac0b7
|
chore: update stage0
|
2020-12-18 17:27:54 +01:00 |
|
Sebastian Ullrich
|
0ddc932052
|
fix: interpreter cache leak by simplifying it after all
|
2020-12-18 17:06:35 +01:00 |
|
Sebastian Ullrich
|
94cfff5118
|
refactor: simplify syntax match logic
|
2020-12-18 17:05:20 +01:00 |
|
Leonardo de Moura
|
995e11b64e
|
chore: cleanup
|
2020-12-17 18:05:53 -08:00 |
|
Leonardo de Moura
|
67bcff3bc8
|
chore: use deriving DecidableEq
|
2020-12-17 17:48:23 -08:00 |
|
Leonardo de Moura
|
1072bcfa73
|
chore: update stage0
|
2020-12-17 17:34:16 -08:00 |
|
Leonardo de Moura
|
dee3c2c8d8
|
feat: improve deriving DecidableEq
|
2020-12-17 17:30:23 -08:00 |
|
Leonardo de Moura
|
6133e5de43
|
chore: make sure subst is a "noop" if there is nothing to substitute
|
2020-12-17 17:30:23 -08:00 |
|
Leonardo de Moura
|
9736ea55f5
|
chore: cleanup
|
2020-12-17 17:30:23 -08:00 |
|
Leonardo de Moura
|
c428e4feaa
|
fix: bug at injection
|
2020-12-17 17:30:23 -08:00 |
|
Leonardo de Moura
|
87b6385bea
|
feat: add deriving DecidableEq
|
2020-12-17 17:30:23 -08:00 |
|
Leonardo de Moura
|
9a8de1774c
|
chore: minor cleanup
|
2020-12-17 17:30:23 -08:00 |
|
Sebastian Ullrich
|
dcfef05c8e
|
perf: reuse interpreter caches a bit more
|
2020-12-17 23:18:43 +01:00 |
|
Sebastian Ullrich
|
22bb2fbd06
|
perf: reuse thread-local interpreter
|
2020-12-17 23:18:43 +01:00 |
|
Sebastian Ullrich
|
af7e44f017
|
fix: interpreter: make sure to retain options after switching threads
|
2020-12-17 23:18:43 +01:00 |
|