Commit graph

19896 commits

Author SHA1 Message Date
Leonardo de Moura
3d166f6400 chore: fix syntax
This is a set of examples that exposes problems with the old frontend
elaborator. These issues have been fixed in the new frontend.
2020-05-21 09:57:35 -07:00
Leonardo de Moura
a01552d361 chore: fix some tests
Two of them are still broken due to a bug in the new elaborator.
2020-05-21 09:50:20 -07:00
Leonardo de Moura
f44fe34661 feat: add expandStructInstExpectedType 2020-05-21 09:39:18 -07:00
Leonardo de Moura
959a860bdf feat: elaborate new structure instance syntax 2020-05-20 18:10:33 -07:00
Leonardo de Moura
64f21e0248 chore: update stage0 2020-05-20 17:01:49 -07:00
Leonardo de Moura
f427a6bd3f feat: new structure instance syntax 2020-05-20 16:57:58 -07:00
Leonardo de Moura
3ea9edbd13 chore: test for simulating old { Prod . ... } syntax 2020-05-20 16:06:57 -07:00
Leonardo de Moura
618d113075 chore: remove workaround for bug at new { ... : <expected-type> } syntax 2020-05-20 15:56:28 -07:00
Leonardo de Moura
70c57ce0f0 chore: update stage0 2020-05-20 15:50:51 -07:00
Leonardo de Moura
c01da783ca fix: { ... : <expected-type> } syntax in the old frontend 2020-05-20 15:49:40 -07:00
Leonardo de Moura
05dda45a22 chore: remove { <structure-name> . ... } from stdlib
TODO: fix problems with `{ ... : <expected-type }` new syntax
2020-05-20 15:43:21 -07:00
Leonardo de Moura
5aff998aa3 chore: update stage0 2020-05-20 15:30:06 -07:00
Leonardo de Moura
22ae065d16 feat: add { ... : <expected-type> } syntax
It replaces the `{ <struct-name> . ... }` syntax.
2020-05-20 15:24:27 -07:00
Leonardo de Moura
8d9543d9c2 chore: update stage0 2020-05-20 15:09:12 -07:00
Leonardo de Moura
bd58048449 chore: { <source> with ... } syntax 2020-05-20 15:08:43 -07:00
Leonardo de Moura
eef2ca66a1 chore: update stage0 2020-05-20 13:10:12 -07:00
Leonardo de Moura
3f44e8f3df chore: remove .. src syntax from old frontend 2020-05-20 13:07:21 -07:00
Sebastian Ullrich
3d891be49e feat: delaborator: do not set whitespace information 2020-05-20 11:54:53 -07:00
Sebastian Ullrich
b28eedbd98 refactor: make all fields of SourceInfo optional 2020-05-20 11:54:53 -07:00
Sebastian Ullrich
493cbd5582 chore: update stage0 2020-05-20 11:54:53 -07:00
Sebastian Ullrich
0086bdf642 feat: use new SourceInfo in syntax quotations 2020-05-20 11:54:53 -07:00
Sebastian Ullrich
d420f46432 fix: '\r' escape 2020-05-20 15:13:24 +02:00
Sebastian Ullrich
dea99e1814 fix: imax is not a keyword 2020-05-20 15:13:10 +02:00
Sebastian Ullrich
66a0a239a3 fix: structure instances missing comma 2020-05-20 15:12:42 +02:00
Sebastian Ullrich
26dab90b1b chore: update-stage0 output should not depend on locale 2020-05-20 10:35:43 +02:00
Sebastian Ullrich
3c8400d30f chore: CI: check update-stage0 2020-05-19 11:31:36 -07:00
Leonardo de Moura
9da4f09c67 chore: update stage0 2020-05-19 11:29:32 -07:00
Sebastian Ullrich
6a0410f8f0 feat: make import A import A.olean instead of A/Default.olean 2020-05-19 11:29:32 -07:00
Leonardo de Moura
abbd79a749 chore: update stage0 2020-05-19 11:29:32 -07:00
Sebastian Ullrich
e86758da60 chore: add missing preludes in Init/Lean
These aren't really necessary, but it's more consistent with other files and saves me a stage 0 update
2020-05-19 11:29:32 -07:00
Sebastian Ullrich
dc56eb7a86 chore: remove obsolete built-in search path 2020-05-19 11:29:32 -07:00
Sebastian Ullrich
18a89abbe6
chore: fix Windows CI
Switch to a `setup-msys2` fork working around https://github.com/msys2/MSYS2-packages/issues/1962
2020-05-19 15:44:27 +02:00
Leonardo de Moura
c7a5963483 fix: missing file 2020-05-18 12:15:41 -07:00
Leonardo de Moura
5c03838fad chore: update stage0 2020-05-18 12:14:42 -07:00
Leonardo de Moura
1a77ee4f89 chore: delete old runtime directory 2020-05-18 11:33:18 -07:00
Leonardo de Moura
e7cbaf1b57 chore: adjust CMakeLists.txt 2020-05-18 11:32:46 -07:00
Leonardo de Moura
8bdca35282 chore: use #include <lean/runtime/...> for runtime .h files 2020-05-18 11:30:07 -07:00
Leonardo de Moura
72df1b323a chore: copy runtime files 2020-05-18 11:06:26 -07:00
Sebastian Ullrich
9fdcf6ea59 refactor: put all includes in include/lean/ 2020-05-18 11:00:26 -07:00
Sebastian Ullrich
655a16ce56 doc: reference correct default stage 2020-05-18 14:52:10 +02:00
Sebastian Ullrich
78a3305764 chore: duplicate install file 2020-05-18 14:51:18 +02:00
Sebastian Ullrich
99e90cbdb9 fix: Nix build 2020-05-18 14:38:27 +02:00
Sebastian Ullrich
150f44b61b fix: install 2020-05-18 14:38:23 +02:00
Sebastian Ullrich
3c3258abd8 chore: install stage 0.5 by default 2020-05-18 14:38:23 +02:00
Sebastian Ullrich
ff0d56da65 doc: further elaborate on elan and Emacs setup
/cc @leodemoura @mhuisi
2020-05-18 11:00:29 +02:00
Sebastian Ullrich
bb554930f8 doc: elaborate on elan setup 2020-05-15 21:31:23 +02:00
Leonardo de Moura
e6463903d8 chore: add comment 2020-05-15 11:26:24 -07:00
Leonardo de Moura
d4aea2453a chore: another OSX issue 2020-05-15 11:22:29 -07:00
Leonardo de Moura
8a4e752f56 chore: fix OSX issues 2020-05-15 11:07:24 -07:00
Sebastian Ullrich
0918c8602b fix: avoid sed, which doesn't always like \r 2020-05-15 19:41:32 +02:00