Sebastian Ullrich
|
eff43fab08
|
chore(library/init/lean/expander): comment
|
2018-10-13 08:11:36 -07:00 |
|
Sebastian Ullrich
|
8a88d4d5e2
|
feat(library/init/lean/parser/token): string literals
hard-coded for now because we do not have general support for variable-length
tokens yet
|
2018-10-13 08:11:36 -07:00 |
|
Sebastian Ullrich
|
758d258210
|
fix(library/init/lean/parser/term): rename term.ident to ident_univs to remove confusion with ident
`protected` didn't do anything here
|
2018-10-13 08:11:36 -07:00 |
|
Leonardo de Moura
|
5810418ddd
|
perf(library/init/lean/ir/extract_cpp): use derive to speedup type class resolution
This modification reduced processing time for this file to 1.49 secs
from 2.30 secs on my office desktop.
|
2018-10-12 12:27:08 -07:00 |
|
Leonardo de Moura
|
17d6ef3abe
|
chore(library/init/lean/ir/parser): minimize <|> inlining
|
2018-10-12 11:57:42 -07:00 |
|
Leonardo de Moura
|
c0b76704a0
|
chore(library/init/lean/parser/level): typo
|
2018-10-12 11:56:34 -07:00 |
|
Leonardo de Moura
|
15a25d5aa9
|
chore(library/init/lean/parser): add a few comments
|
2018-10-11 15:54:57 -07:00 |
|
Leonardo de Moura
|
338038a05e
|
feat(library/init/core): add inline identity function
|
2018-10-10 18:17:29 -07:00 |
|
Sebastian Ullrich
|
8e0778e54a
|
fix(library/init/lean/parser/token): parse whitespace after raw_ident
|
2018-10-08 09:30:48 -07:00 |
|
Sebastian Ullrich
|
50e6b42f8c
|
fix(frontends/lean/elaborator): ensure_no_unassigned_metavars: only check mvars in parameter
Had forgotten to re-check the standard lib...
|
2018-10-07 21:11:02 -07:00 |
|
Leonardo de Moura
|
eb51b9ef26
|
chore(library/init/core): avoid . as end-of-command and empty equations
|
2018-10-05 17:30:27 -07:00 |
|
Sebastian Ullrich
|
4e3f9b46c2
|
refactor(library/init/lean/parser/token): remove weird with_source higher-order function
|
2018-10-05 08:52:04 -07:00 |
|
Sebastian Ullrich
|
ebeec844af
|
perf(library/init/lean/parser): minor performance tweaks
|
2018-10-05 08:52:04 -07:00 |
|
Sebastian Ullrich
|
22714b9b10
|
perf(library/init/lean/parser/combinators): node: no need to fill up with syntax.missing anymore
Views now do iterated pattern matches instead of a single one
|
2018-10-04 14:27:24 -07:00 |
|
Sebastian Ullrich
|
988d38b892
|
perf(library/init/control): inline monad_map instances even when partially applied
|
2018-10-04 14:23:03 -07:00 |
|
Leonardo de Moura
|
4bcb7051a8
|
chore(library/init/data/nat/basic): missing @[inline]
|
2018-10-03 17:24:53 -07:00 |
|
Sebastian Ullrich
|
959948b901
|
feat(library/init/lean): even more core.lean progress
|
2018-10-03 16:00:08 -07:00 |
|
Sebastian Ullrich
|
ca8e75be9e
|
fix(library/init/lean/elaborator): check for and consume end of input
|
2018-10-03 16:00:08 -07:00 |
|
Sebastian Ullrich
|
5274be8c3e
|
feat(library/init/lean/elaborator): local notation
Implemented by treating the parser cfg as a cache that can be recreated from the
elaborator state after e.g. a scope has ended
|
2018-10-03 16:00:08 -07:00 |
|
Sebastian Ullrich
|
0563c60b1a
|
feat(library/init/lean/elaborator): add coroutine, use it to implement section/namespace elaborators (they don't do anything yet except for checking the end name)
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
097b7be14f
|
refactor(library/init/lean/parser/token): change raw view type to option syntax_atom and create raw_str to give some raw parsers view defaults
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
918388ac26
|
refactor(library/init/control/except): reintroduce except_t.mk
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
533ac2d5b2
|
fix(library/init/lean/parser/declaration): attributes before visibility modifiers
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
71fd8a59b4
|
feat(library/init/lean/parser/notation): simple term language for precedences
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
b8b39585ec
|
fix(library/init/lean/parser/command): variable may take unbracketed binder
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
fc5120290f
|
feat(library/init/lean/parser/term): inductive levels, let, structure instances
|
2018-10-02 14:55:28 -07:00 |
|
Leonardo de Moura
|
dc937281b3
|
chore(library/init/string): remove string.iterator_imp
|
2018-10-02 13:46:01 -07:00 |
|
Leonardo de Moura
|
c3569dc72d
|
feat(kernel): store structure name in proj-expressions
|
2018-10-02 09:23:11 -07:00 |
|
Leonardo de Moura
|
429f844fbe
|
@chore(library/init/lean/parser/parsec): remove @[inline] annotations to reduce compilation time
We will mark them as `@[specialize]` as soon as we implement code specialization
|
2018-10-01 17:30:13 -07:00 |
|
Sebastian Ullrich
|
ab5460d010
|
perf(library/init/lean/parser/parsec): more [inline] attributes
|
2018-10-01 16:32:11 -07:00 |
|
Leonardo de Moura
|
5ff63c3c96
|
feat(library/init/data/uint): add uint8
|
2018-10-01 14:17:11 -07:00 |
|
Leonardo de Moura
|
3a4acbee9e
|
chore(library/init/data/string): remove string_imp
We will use the (to be implemented) `opaque` keyword
|
2018-10-01 14:17:11 -07:00 |
|
Leonardo de Moura
|
761db5bc7e
|
chore(library/init/core): remove obsolete lemmas
We don't need them anymore.
|
2018-10-01 14:17:11 -07:00 |
|
Sebastian Ullrich
|
e261d8f222
|
perf(library/init): missing [inline] attributes
|
2018-10-01 11:53:38 -07:00 |
|
Leonardo de Moura
|
b9cee7b8ae
|
chore(library/init/wf): disable codegen for wf
|
2018-10-01 11:41:57 -07:00 |
|
Sebastian Ullrich
|
7d8c3c5db8
|
feat(library/init/lean/parser/term): use longest_match for Pratt parsing
|
2018-10-01 09:02:39 -07:00 |
|
Sebastian Ullrich
|
6a23ecfe9c
|
fix(library/init/lean/parser/parsec): fix lookahead, longest_match
|
2018-10-01 09:02:39 -07:00 |
|
Sebastian Ullrich
|
b443006e8f
|
fix(library/init/lean/parser/syntax): reprint: do not concatenate choice contents
|
2018-10-01 09:02:39 -07:00 |
|
Leonardo de Moura
|
a2ee4552fb
|
chore(library/init/core): add inline annotations
|
2018-09-30 08:21:11 -07:00 |
|
Leonardo de Moura
|
923c8ea9a3
|
chore(library/init/core): missing @[inline]
|
2018-09-29 16:21:42 -07:00 |
|
Leonardo de Moura
|
0e4c5d932e
|
feat(library/init/core): missing @[macro_inline]
|
2018-09-29 16:12:40 -07:00 |
|
Sebastian Ullrich
|
945bf39e05
|
feat(library/init/lean): progress
|
2018-09-28 20:50:18 -07:00 |
|
Sebastian Ullrich
|
64a6341751
|
chore(library/init/core): remove has_inv
|
2018-09-28 20:50:18 -07:00 |
|
Sebastian Ullrich
|
df278096c4
|
fix(library/init/lean): fixes fixes fixes
|
2018-09-28 13:08:25 -07:00 |
|
Sebastian Ullrich
|
ba1da61dd0
|
chore(library/init/core): avoid unquoted notation symbol
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
203545ce99
|
chore(library/init/lean/parser/trie): add debug print
Also make sure it's in the prelude, whoops
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
5123148aa6
|
feat(library/init/data/string/basic): trim whitespace around symbols
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
1733d3ec12
|
feat(library/init/lean/elaborator): default leading notation symbols to max_prec
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
b6ca2e945d
|
feat(library/init/lean): support unquoted symbols in mixfix notation
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
63201c2a78
|
feat(library/init/lean/elaborator): add elaborator, elaborate notation and reserve notation
|
2018-09-28 13:08:24 -07:00 |
|