Commit graph

36377 commits

Author SHA1 Message Date
Sebastian Ullrich
98634b5554 fix: $(_):ident is not an infallible pattern 2021-07-22 16:52:06 +02:00
Sebastian Ullrich
5866e2bbb7 chore: use register_parser_alias where possible
Fixes #494
2021-07-22 16:28:06 +02:00
Sebastian Ullrich
42e681a5a6 fix: make unterminated comments consume all input
Fixes #549
2021-07-22 15:55:12 +02:00
Leonardo de Moura
a6af257b7a fix: missing condition 2021-07-21 07:36:35 -07:00
Formally Verified Waffle Maker
c5ffcc5dd6 refactor: remove redundant condition 2021-07-21 09:39:58 +02:00
Leonardo de Moura
0943dc31fc chore: update stage0 2021-07-20 10:42:28 -07:00
Leonardo de Moura
a019d8071f chore: document simplified object header and remove obsolete cmake options 2021-07-20 10:42:28 -07:00
Leonardo de Moura
10122ba38b chore: try to fix compilation error at CI 2021-07-20 10:42:28 -07:00
Leonardo de Moura
286136b3c7 fix: missing std:: 2021-07-20 10:42:28 -07:00
Leonardo de Moura
fa8b842401 chore: update stage0 2021-07-20 10:42:28 -07:00
Leonardo de Moura
c59e72a77b chore: cleaner lean_dec_ref, inline persistent object case 2021-07-20 10:42:28 -07:00
Leonardo de Moura
da66610fda chore: cleanup 2021-07-20 10:42:28 -07:00
Leonardo de Moura
974caa97e6 chore: typo 2021-07-20 10:42:28 -07:00
Leonardo de Moura
e0132ea2f1 chore: update stage0 2021-07-20 10:42:28 -07:00
Leonardo de Moura
489b28085f feat: simpler and faster RC 2021-07-20 10:42:28 -07:00
Sebastian Ullrich
7e317d23db feat: term info on where declarations 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
b76dd1a8e3 feat: go-to-definition for local variables 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
df57b43b06 fix: go-to-type on parameterized types 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
18becc7d7d fix: plain term goal on binders 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
4a4b4c1ef4 fix: mkAtomFrom: generate synthetic position like other *From functions
Also consistently use binders as reference position for an elided binder type.
Before, type errors were always given extent 1, the length of the
synthetic `_` token.
2021-07-19 13:24:59 -07:00
Sebastian Ullrich
904cfd6fcb perf: extract cold path in lean_alloc_small 2021-07-19 13:20:28 -07:00
Sebastian Ullrich
16fbbf98e9 perf: extract cold paths in lean_free_small and mark noinline 2021-07-19 13:20:28 -07:00
Sebastian Ullrich
52810bdfa0 chore: remove dead header 2021-07-19 13:20:28 -07:00
Sebastian Ullrich
8637220927 fix: make precedence mandatory for mixfix commands
Resolves #577
2021-07-19 13:18:58 -07:00
Wojciech Nawrocki
caa8f7f7b2 chore: expose Substring.prev/next 2021-07-19 09:55:37 +02:00
Wojciech Nawrocki
f07e49acdb chore: parse names properly 2021-07-19 09:55:37 +02:00
Wojciech Nawrocki
55a506be84 chore: adapt test 2021-07-19 09:55:37 +02:00
Wojciech Nawrocki
03699cd5ba feat: uniformly split idents 2021-07-19 09:55:37 +02:00
Wojciech Nawrocki
7aca461a35 fix: hovers on elabFieldName fields 2021-07-19 09:55:37 +02:00
Wojciech Nawrocki
bcde967d99 feat: add dot hover test 2021-07-19 09:55:37 +02:00
Wojciech Nawrocki
b2d712a766 fix: Substring.splitOn 2021-07-19 09:55:37 +02:00
tydeu
53b95fb455 fix: actually use lib name in the file name 2021-07-17 13:28:40 -04:00
tydeu
81cb2f6ca8 refactor: use modToFilePath in srcRoot and oleanRoot 2021-07-17 13:27:33 -04:00
tydeu
e99d7aab95 refactor: default libName to moduleRoot and don't escape it 2021-07-17 13:09:23 -04:00
tydeu
9e5505b6ca feat: add new and run commands 2021-07-17 13:02:39 -04:00
Mario Carneiro
0cf306eb49
chore: fix typo 2021-07-16 10:52:28 +02:00
Wojciech Nawrocki
a8d599a955 fix: typo 2021-07-15 21:57:55 +02:00
Wojciech Nawrocki
7374b9ba45 chore: update webserver demo 2021-07-15 21:57:55 +02:00
Wojciech Nawrocki
eef413cec8 chore: unused binding in FromToJson 2021-07-15 21:57:55 +02:00
tydeu
93c9543976 feat: add convenience functions for constructing a LeanTrace 2021-07-15 13:04:31 -04:00
tydeu
b14eef6e06 refactor: split out top / lib / bin build from Build.lean 2021-07-15 12:50:54 -04:00
tydeu
3b2c91f396 refactor: functions for building a specified module root 2021-07-15 12:40:23 -04:00
tydeu
f8a31011a6 feat: add more package configuration settings 2021-07-15 12:21:52 -04:00
Mario Carneiro
c7f5fd6ce4 fix: missing interpolation in trace message 2021-07-15 10:32:37 +02:00
Mario Carneiro
8d616e060b
doc: fix categoryParenthesizer documentation 2021-07-15 09:39:28 +02:00
tydeu
31fa37dbfe refactor: remove Monad Task instance (for now) 2021-07-14 14:53:52 -04:00
tydeu
e040804678 refactor: split task and trace from target into separate files 2021-07-14 13:35:42 -04:00
tydeu
3ef381bb6c refactor: merge Proc into Compile and cleanup Build 2021-07-14 12:46:07 -04:00
tydeu
758021f03a feat: add hash checking for builds 2021-07-13 20:11:15 -04:00
tydeu
115fdbea98 refactor: simplify mtime checking code 2021-07-13 16:18:42 -04:00