Commit graph

19726 commits

Author SHA1 Message Date
Leonardo de Moura
227f985f84 fix: bug at generalizeTelescope 2020-03-25 16:00:55 -07:00
Leonardo de Moura
d79cfa38e3 test: generalizeTelescope tests 2020-03-25 16:00:55 -07:00
Leonardo de Moura
08aa4db110 feat: add generalizeTelescope 2020-03-25 16:00:55 -07:00
Sebastian Ullrich
dda44bc47f doc: building Lean using Nix in WSL does work reasonably well 2020-03-25 14:24:49 +01:00
Sebastian Ullrich
b73dd0c9aa feat: run Emacs with lean4-mode directly from nix-shell 2020-03-25 12:47:00 +01:00
Sebastian Ullrich
1756d31694 chore: update build instructions 2020-03-25 12:45:52 +01:00
Sebastian Ullrich
6ffe310c48 feat: delab coercions 2020-03-24 17:27:10 +01:00
Sebastian Ullrich
3c71c4f0ea chore: fix benchmark 2020-03-24 17:27:02 +01:00
Sebastian Ullrich
fdc03c9d74 feat: delab projections 2020-03-24 17:27:02 +01:00
Leonardo de Moura
f62a40c06d chore: update stage0 2020-03-23 15:57:32 -07:00
Leonardo de Moura
098b0edbcb chore: remove dead code 2020-03-23 15:56:29 -07:00
Leonardo de Moura
2c12a073fa fix: missing file 2020-03-23 15:49:22 -07:00
Leonardo de Moura
2ca347fcd6 chore: fix test 2020-03-23 15:47:51 -07:00
Leonardo de Moura
2cc0f25bf5 feat: getLine at EOF should return empty string
This is the same approach used in Rust, and it simplifies the code.
2020-03-23 15:44:47 -07:00
Leonardo de Moura
bff734ec5b chore: update stage0 2020-03-23 14:54:13 -07:00
Leonardo de Moura
dc80b76106 feat: add IO.FS.lines 2020-03-23 14:53:27 -07:00
Leonardo de Moura
12c5075c67 fix: String.dropRight 2020-03-23 14:51:05 -07:00
Leonardo de Moura
41949ee801 refactor: String.toNat ==> String.toNat? and String.toNat! 2020-03-23 14:29:48 -07:00
Leonardo de Moura
94f016a3e8 fix: readLine and test 2020-03-23 14:06:17 -07:00
Leonardo de Moura
b2bddb5606 chore: style 2020-03-23 14:06:02 -07:00
Leonardo de Moura
e5601554f9 chore: update stage0 2020-03-23 12:26:58 -07:00
Leonardo de Moura
db914052ce fix: IO.getLine 2020-03-23 12:26:09 -07:00
Leonardo de Moura
2efc1855f0 fix: object may be a boxed scalar
Example: IOError.unexpectedEof
2020-03-23 12:14:32 -07:00
Leonardo de Moura
95c5ccc97d chore: update stage0 2020-03-23 11:58:58 -07:00
Leonardo de Moura
918256ff1f fix: we cannot export constants 2020-03-23 11:54:54 -07:00
Leonardo de Moura
4296e1d83e feat: add tests for Closure.lean 2020-03-20 18:32:04 -07:00
Leonardo de Moura
910cc33101 fix: missing lowerLooseBVars 2020-03-20 18:18:57 -07:00
Leonardo de Moura
b2901a9225 feat: add Closure.lean 2020-03-20 17:54:26 -07:00
Leonardo de Moura
b705142ae4 refactor: KernelException at MetaM 2020-03-20 17:54:26 -07:00
Leonardo de Moura
86784594d6 feat: add getFVars 2020-03-20 17:54:26 -07:00
Leonardo de Moura
11d6f91896 feat: add hasUnsafe 2020-03-20 17:54:26 -07:00
Sebastian Ullrich
a0e3f5f1c6 fix: delaborator positions 2020-03-20 16:50:47 +01:00
Sebastian Ullrich
b1d9e37d66 test: add re-elaborating delaborator PoC to playground 2020-03-19 17:18:46 -07:00
Sebastian Ullrich
e5f7334e2d chore: lean4-mode: operators are punctuation, '!' and '?' are symbol parts 2020-03-19 17:18:27 -07:00
Sebastian Ullrich
4cff135ec3 feat: #eval: auto-hide () output for m Unit chained instances 2020-03-19 17:18:15 -07:00
Sebastian Ullrich
7f09973d43 feat: basic delaborator 2020-03-19 17:17:34 -07:00
Sebastian Ullrich
ed14375dad feat: sort and deduplicate "expected" tokens in parser error messages 2020-03-19 17:17:08 -07:00
Sebastian Ullrich
50cc5573e7 fix: Expr.bindingName! 2020-03-19 17:16:05 -07:00
Sebastian Ullrich
ac2360d822 feat: Syntax.formatStx: optionally show position information 2020-03-19 17:15:49 -07:00
Sebastian Ullrich
c187b1c917 refactor: move HasQuote into Init.Lean.Syntax 2020-03-19 17:14:42 -07:00
Sebastian Ullrich
e999fa678d feat: add some useful helper functions I didn't actually use in the end 2020-03-19 17:14:31 -07:00
Sebastian Ullrich
3e7bc07f19 fix: FileMap.toPosition: terminate if position is out of bounds 2020-03-19 17:14:18 -07:00
Leonardo de Moura
e30986031f chore: update stage0 2020-03-19 17:10:37 -07:00
Sebastian Ullrich
6863877a1e feat: register [delab] attribute 2020-03-19 17:09:11 -07:00
Leonardo de Moura
1fd70334ab chore: update stage0 2020-03-19 17:04:07 -07:00
Leonardo de Moura
fdfa3fc0de chore: minor 2020-03-19 17:01:59 -07:00
Leonardo de Moura
8c7dc85b7e feat: add new quotation syntax
cc @Kha
2020-03-19 17:01:34 -07:00
Leonardo de Moura
6ccade1738 proto: mkDepElim 2020-03-19 15:47:47 -07:00
Leonardo de Moura
6df8959c1c refactor: add Recognizers.lean 2020-03-19 15:47:29 -07:00
Leonardo de Moura
2113e45dd0 chore: fix test 2020-03-19 09:29:07 -07:00