Leonardo de Moura
3d6cc2de08
feat: add notFollowedByCategoryToken parser
2020-09-26 15:53:23 -07:00
Leonardo de Moura
3f4499be08
feat: allow trailing ; at doSeqBracketed
2020-09-26 14:20:47 -07:00
Leonardo de Moura
e31fd665f0
feat: add checkLineLe parser
2020-09-26 14:03:28 -07:00
Leonardo de Moura
17e97baf8d
chore: remove workaround
2020-09-26 13:39:55 -07:00
Leonardo de Moura
8a06b04f3a
chore: update stage0
2020-09-26 12:53:15 -07:00
Leonardo de Moura
13ded3f964
chore: use doElem category
2020-09-26 12:51:24 -07:00
Leonardo de Moura
a1579f3123
fix: notFollowedBy info
2020-09-26 12:33:11 -07:00
Leonardo de Moura
45a98d5739
chore: add "for" to list of keywords
2020-09-26 12:33:11 -07:00
Leonardo de Moura
7d91ddafeb
feat: expose getPatternVars
2020-09-26 12:33:11 -07:00
Leonardo de Moura
1320848037
chore: rename file
2020-09-26 12:33:11 -07:00
Leonardo de Moura
6b232f2464
chore: update stage0
2020-09-26 06:22:32 -07:00
Leonardo de Moura
2d8506b7c6
feat: add doElem parser category
2020-09-26 06:18:44 -07:00
Leonardo de Moura
2754d78749
proto: type classes for the for in notation
2020-09-25 18:48:23 -07:00
Leonardo de Moura
27be7e6812
fix: leaking isDefEqStuckExceptionId
2020-09-25 18:48:23 -07:00
Leonardo de Moura
8e159f004c
fix: missing synthesizeSyntheticMVarsNoPostponing at elabMatch
2020-09-25 18:48:23 -07:00
Leonardo de Moura
78adaf3e94
fix: "let rec" attributes were not being processed
2020-09-25 18:48:23 -07:00
Leonardo de Moura
b71e5b4648
test: cdot tests
2020-09-25 18:48:23 -07:00
Leonardo de Moura
049ff2b022
fix: bad message
2020-09-25 18:48:23 -07:00
Sebastian Ullrich
eae32b08a6
fix: pretty printing multiple universe levels
...
Fixes #190
2020-09-25 20:06:18 +02:00
Leonardo de Moura
240680db1a
feat: add binductionOn support
2020-09-25 07:18:14 -07:00
Leonardo de Moura
d17c20be25
test: add old Lean3 tests
2020-09-25 06:48:51 -07:00
Leonardo de Moura
1775d9b04b
fix: visit types
...
See new test `tests/lean/run/def14.lean`
2020-09-25 06:48:51 -07:00
Leonardo de Moura
44129ce461
refactor: move withoutModifyingEnv to MonadEnv
2020-09-25 06:48:51 -07:00
Leonardo de Moura
0e16bd60dc
fix: missing case
2020-09-25 06:48:51 -07:00
Leonardo de Moura
afa2f9b74c
test: add old Lean3 tests
2020-09-25 06:48:51 -07:00
Sebastian Ullrich
8fe2fd171d
chore: update stage0
2020-09-25 11:23:28 +02:00
Sebastian Ullrich
402d4437c0
chore: fix interactive use of stage 0
2020-09-25 11:22:06 +02:00
Leonardo de Moura
e4f492d68a
feat: add support for reflexive inductive datatypes
2020-09-24 20:30:12 -07:00
Leonardo de Moura
66d35cdd76
fix: the generated matcher must be able to eliminate into different universe levels
2020-09-24 19:34:14 -07:00
Leonardo de Moura
98f7e9b3e4
chore: naming convention
2020-09-24 19:22:24 -07:00
Leonardo de Moura
bdf412bf49
test: add old Lean3 tests
2020-09-24 18:01:23 -07:00
Leonardo de Moura
53acb2b56f
chore: naming convention
2020-09-24 17:50:17 -07:00
Leonardo de Moura
3256a24813
fix: bug at toBelow
2020-09-24 17:38:51 -07:00
Leonardo de Moura
bdefe91fbf
test: add old Lean3 tests
2020-09-24 17:32:47 -07:00
Leonardo de Moura
7edc52682b
fix: processNonVariable
2020-09-24 17:16:50 -07:00
Leonardo de Moura
059a246795
chore: update stage0
2020-09-24 12:51:54 -07:00
Leonardo de Moura
149f69ad8f
chore: update stage0
2020-09-24 12:47:48 -07:00
Leonardo de Moura
8383177c96
fix: nonoptimal specialization
...
@Kha Here is the fix for the problem I told you this morning.
Please, take a look at `specialize.cpp` and see whether it makes sense.
2020-09-24 12:40:28 -07:00
Leonardo de Moura
550b5d2b47
chore: missing [inline]
2020-09-24 12:40:28 -07:00
Sebastian Ullrich
f73fca1da7
chore: make_stdlib: use everything but lean from the current stage
...
Finally the stage 1 stdlib will be built against the headers in src/, not stage0/src/
2020-09-24 18:57:53 +02:00
Sebastian Ullrich
c0d40c6f86
chore: always use release build for stage 0
2020-09-24 18:57:53 +02:00
Sebastian Ullrich
c54d51b0c9
chore: go back to previous bootstrapping scheme where the stage N+1 stdlib is created using the stage N compiler
2020-09-24 18:57:53 +02:00
Sebastian Ullrich
308b4fc421
chore: always remake leanmake tests
2020-09-24 18:57:53 +02:00
Leonardo de Moura
6fe8a0e179
test: issue 29
...
New frontend fixed this issue.
closes #29
2020-09-23 18:30:28 -07:00
Leonardo de Moura
e22d2f6cb1
test: new tests for structural recursion
...
@Kha The structural recursion is working :)
It is so much more powerful than the one in Lean3.
I added examples with `let rec`, nested and multiple
`match`-expressions.
I will keep testing and adding missing features tomorrow, and
will hopefully start porting stdlib to new frontend before the end of
the week.
2020-09-23 18:24:56 -07:00
Leonardo de Moura
6a51ec8427
fix: missing case (kernel projection) at isExprDefEqAuxImpl
2020-09-23 18:24:56 -07:00
Leonardo de Moura
a5ee729554
chore: cleanup ExprDefEq a bit
2020-09-23 18:24:56 -07:00
Leonardo de Moura
6ac2f50d94
fix: Expr.proj case at whnfCoreImp
2020-09-23 18:24:56 -07:00
Leonardo de Moura
3c24366b41
feat: basic toBelow
2020-09-23 18:24:56 -07:00
Leonardo de Moura
0174004b1c
feat: improver error message generation for termination checking
2020-09-23 18:24:56 -07:00