Commit graph

26741 commits

Author SHA1 Message Date
Leonardo de Moura
a58b799bd6 chore: add instances for debugging purposes 2020-12-28 16:34:02 -08:00
Leonardo de Moura
4f4c8f45cd chore: fix tests 2020-12-28 16:27:38 -08:00
Leonardo de Moura
539c43e153 fix: typo
closes #238
2020-12-28 15:55:25 -08:00
Leonardo de Moura
01b6f4f06b fix: incorrect shadowing of let mut variable 2020-12-28 15:52:11 -08:00
Leonardo de Moura
95ba7b59e8 fix: construct key before validateHint
`validateHint` may assign metavariables
2020-12-28 15:40:20 -08:00
Leonardo de Moura
19a3f8e5e5 chore: fix typo 2020-12-28 09:01:23 -08:00
Leonardo de Moura
87e251b85e chore: update stage0 2020-12-28 08:35:20 -08:00
Leonardo de Moura
9611e2d84e feat: add simp attribute 2020-12-28 08:20:28 -08:00
Sebastian Ullrich
ca3dd82ed4 doc: notations & precedence 2020-12-28 00:44:16 +01:00
Sebastian Ullrich
4a22854b1e chore: make server tests fixable 2020-12-27 15:05:29 +01:00
Sebastian Ullrich
550d352bdc feat: log output of #... auxiliary commands at command token 2020-12-27 14:33:02 +01:00
Leonardo de Moura
3e241b21da chore: update stage0 2020-12-26 17:49:32 -08:00
Sebastian Ullrich
bbafd80322 chore: token antiquotations: return/take full Syntax (but only use head info of it)
/cc @leodemoura
2020-12-26 23:54:46 +01:00
Sebastian Ullrich
837d6a1529 chore: fix test 2020-12-26 21:12:51 +01:00
Sebastian Ullrich
5fe2490156 refactor: use From/ToJson deriving handlers 2020-12-26 19:38:24 +01:00
Sebastian Ullrich
0c3b8e5d1e chore: update stage0 2020-12-26 19:38:24 +01:00
Sebastian Ullrich
1f563695bb feat: From/ToJson derive handlers 2020-12-26 19:38:24 +01:00
Leonardo de Moura
4450b8567d fix: sigma notation precedence 2020-12-26 09:35:40 -08:00
Leonardo de Moura
c94bb0fa2b fix: missing quotes in error messages 2020-12-26 09:01:45 -08:00
Leonardo de Moura
01f8127c16 fix: position information at expandDoIf? 2020-12-26 08:26:54 -08:00
Leonardo de Moura
cf37937969 chore: update stage0 2020-12-26 08:21:09 -08:00
Wojciech Nawrocki
a2760d0144 test: multi-process server 2020-12-26 13:22:47 +01:00
Wojciech Nawrocki
f2197e8c87
fix: clear pending server requests and read client messages asynchronously 2020-12-25 17:02:24 -05:00
Sebastian Ullrich
82497e3bcf fix: non-atomic identifiers in antiquotation splices 2020-12-25 22:58:33 +01:00
Leonardo de Moura
48b92a4486 fix: error message and test 2020-12-25 10:03:42 -08:00
Leonardo de Moura
f05cbd1365 test: add test for "broken for" 2020-12-25 10:03:42 -08:00
Leonardo de Moura
e21ea53661 fix: position of failed to synthesize toStream ... error 2020-12-25 10:03:42 -08:00
Leonardo de Moura
619885e745 feat: add throwMVarError! 2020-12-25 10:03:42 -08:00
Leonardo de Moura
b855d79718 feat: filter "failed to synthesize ..." errors when there are other errors 2020-12-25 10:03:42 -08:00
Sebastian Ullrich
b2fda9b9ae chore: disable randomly failing test
/cc @mhuisi @Vtech234
2020-12-25 18:48:58 +01:00
Sebastian Ullrich
c3c27f8dd3 feat: lift restriction on number of antiquotations in splice
/cc @leodemoura
2020-12-25 18:41:03 +01:00
Sebastian Ullrich
4878f0d13e fix: delaborator: correctly toggle individual when setting pp.all 2020-12-25 16:12:04 +01:00
Leonardo de Moura
480462fa24 feat: improve {...} error message 2020-12-24 09:35:55 -08:00
Leonardo de Moura
207b8a8c37 chore: fix test 2020-12-24 09:23:05 -08:00
Leonardo de Moura
873a80fed4 chore: update stage0 2020-12-24 08:45:10 -08:00
Leonardo de Moura
87207030ce test: pretty printing if-then-else
@Kha We will probably have to write a handwritten formatter in the
future. The new test shows some limitations with `do`, `else if`, ...
where we want the output
```
      if x == 0 then do
        IO.println "foo"
        IO.println "zero"
      else if x % 2 == 0 then do
        IO.println x
        IO.println "even"
      else do
        IO.println x
        IO.println "odd"
```
2020-12-24 08:40:30 -08:00
Leonardo de Moura
7f9466a7ce chore: use soft line breaks at if-then-else formatters
and remove `priority` leftover.
2020-12-24 08:35:43 -08:00
Leonardo de Moura
3655b1d9d0 chore: remove old if-then-else parsers 2020-12-24 08:25:14 -08:00
Leonardo de Moura
9909e69874 chore: update stage0 2020-12-24 08:21:38 -08:00
Leonardo de Moura
c9b42af537 chore: (prepare to) rename if-then-else parsers
We also add formatting directives to the new if-then-else parsers.
2020-12-24 08:20:07 -08:00
Leonardo de Moura
516784164a chore: update stage0 2020-12-24 08:05:46 -08:00
Leonardo de Moura
79c15de131 fix: if-then-else is not builtin notation 2020-12-24 08:02:59 -08:00
Leonardo de Moura
0e2e2fc3f6 feat: delaborate ite and dite 2020-12-24 07:30:48 -08:00
Leonardo de Moura
17114cc3e8 feat: make sure kernel generates KernelException.declHasMVars instead of KernelException.other
... when a declaration contains metavariables.
2020-12-24 06:56:22 -08:00
Leonardo de Moura
c1d163beac chore: update stage0 2020-12-24 06:35:53 -08:00
Leonardo de Moura
ccefe970dc feat: store endPos at Log.lean 2020-12-23 19:09:41 -08:00
Leonardo de Moura
0ca1c13a5d fix: bugs at ExprDefEq 2020-12-23 17:58:54 -08:00
Leonardo de Moura
14989f9758 chore: cleanup 2020-12-23 13:49:28 -08:00
Leonardo de Moura
4fb02df6e9 refactor: remove workaround 2020-12-23 13:35:21 -08:00
Sebastian Ullrich
43ef6a3902 chore: update stage0 2020-12-23 20:02:49 +01:00