Leonardo de Moura
|
72477f3cc6
|
feat(library/init/lean/parser/command): improve how optional affects firstTokens field
|
2019-07-11 17:22:26 -07:00 |
|
Leonardo de Moura
|
d354dc437c
|
feat(library/init/lean/parser/command): add declaration draft
|
2019-07-11 17:13:22 -07:00 |
|
Leonardo de Moura
|
1b8c2200d5
|
chore(stage0): update
|
2019-07-11 16:45:09 -07:00 |
|
Leonardo de Moura
|
05a3bab321
|
feat(library/init/lean/parser): add command.lean
|
2019-07-11 16:43:44 -07:00 |
|
Leonardo de Moura
|
2f60132610
|
test(tests/compiler/termparsertest1): new test
|
2019-07-11 13:16:25 -07:00 |
|
Leonardo de Moura
|
3370ab7398
|
feat(library/init/lean/parser/term): allow equations to be used in let-decls
|
2019-07-11 13:13:08 -07:00 |
|
Leonardo de Moura
|
99393433a4
|
feat(library/init/lean/parser/term): do notation
|
2019-07-11 12:38:55 -07:00 |
|
Leonardo de Moura
|
711ab9f222
|
feat(library/init/lean/parser/term): missing notation
|
2019-07-11 10:34:49 -07:00 |
|
Leonardo de Moura
|
7c53be5df7
|
chore(library/init): remove remaining set notation
|
2019-07-11 10:31:25 -07:00 |
|
Leonardo de Moura
|
295cabed2e
|
chore(library/init): remove unnecessary notations
|
2019-07-11 10:27:16 -07:00 |
|
Leonardo de Moura
|
57e2f1be2a
|
feat(library/init/lean/parser/term): builtin operators
|
2019-07-11 10:13:00 -07:00 |
|
Leonardo de Moura
|
195fb27ce5
|
feat(library/init/lean/parser/term): add let
|
2019-07-11 09:51:34 -07:00 |
|
Leonardo de Moura
|
7b91d880d7
|
feat(library/init/lean/parser/term): add sortApp, inaccessible and explicit
|
2019-07-11 09:05:21 -07:00 |
|
Leonardo de Moura
|
2c979459a9
|
feat(library/init/lean/parser/parser): add many1Indent1 combinator
It is useful for create whitespace sensitive notation such as `match` expressions.
|
2019-07-10 16:10:41 -07:00 |
|
Leonardo de Moura
|
140cc45491
|
feat(library/init/lean/parser/term): whitespace sensitive match expression
|
2019-07-10 15:13:28 -07:00 |
|
Leonardo de Moura
|
f95ed02999
|
feat(library/init/lean/parser/parser): add withPosition and checkColGe parsers
|
2019-07-10 15:11:54 -07:00 |
|
Leonardo de Moura
|
3ef8845163
|
chore(tests/playground): fix tests
|
2019-07-10 11:36:39 -07:00 |
|
Leonardo de Moura
|
c9cd693b8e
|
feat(runtime/object): avoid recursion at mark_mt and mark_persistent
Reason: potential stack overflows
|
2019-07-10 11:27:49 -07:00 |
|
Leonardo de Moura
|
a85a98f1ec
|
chore(stage0): update
|
2019-07-10 11:19:40 -07:00 |
|
Leonardo de Moura
|
022d22cac4
|
feat(library/compiler/extract_closed): fine grain extraction
Motivation: increase reuse
|
2019-07-10 11:14:20 -07:00 |
|
Leonardo de Moura
|
efa48d6762
|
chore(stage0): update
|
2019-07-10 11:11:53 -07:00 |
|
Leonardo de Moura
|
17cc34def5
|
feat(library/compiler/compiler): add option compiler.extract_closed
It is useful when using `unsafeIO`
|
2019-07-10 11:08:34 -07:00 |
|
Leonardo de Moura
|
228ddd5fdc
|
chore(stage0): update
|
2019-07-09 16:39:32 -07:00 |
|
Leonardo de Moura
|
e55e5953d5
|
chore(library/init/lean/parser/term): remove manual eta expansions
|
2019-07-09 16:35:06 -07:00 |
|
Leonardo de Moura
|
85d151a335
|
feat(library/compiler): use eta expansion at eager_lambda_lifting
|
2019-07-09 16:34:20 -07:00 |
|
Leonardo de Moura
|
bda0277468
|
chore(stage0): update
|
2019-07-09 14:22:10 -07:00 |
|
Leonardo de Moura
|
5dae0303af
|
chore(library/init/lean/parser): force eta expansion and remove unnecessary [inline]
TODO: improve eta-expansion step in the compiler.
|
2019-07-09 14:09:24 -07:00 |
|
Leonardo de Moura
|
f1a2c83e8c
|
feat(library/compiler/eager_lambda_lifting): do not pass closed terms as arguments to lifted decl
|
2019-07-09 14:06:14 -07:00 |
|
Leonardo de Moura
|
0f873b7ba2
|
fix(library/compiler/eager_lambda_lifting): collect type dependencies
|
2019-07-09 13:32:41 -07:00 |
|
Leonardo de Moura
|
53c946a305
|
chore(tests/lean): fix tests
|
2019-07-08 22:11:19 -07:00 |
|
Leonardo de Moura
|
eb69c914e8
|
chore(library/init/lean/parser/term): add missing [inline]
|
2019-07-08 22:06:52 -07:00 |
|
Leonardo de Moura
|
ff0d184176
|
chore(stage0): update
|
2019-07-08 22:04:51 -07:00 |
|
Leonardo de Moura
|
c00788a982
|
fix(library/init/lean/compiler/ir/emitcpp): header of big boxed functions
|
2019-07-08 21:52:01 -07:00 |
|
Leonardo de Moura
|
b89a389427
|
chore(library/init/lean/parser/parser): force eta-expansion
|
2019-07-08 20:46:34 -07:00 |
|
Leonardo de Moura
|
324a053f4c
|
fix(library/init/lean/compiler/ir/resetreuse): bug at Dmain
|
2019-07-08 20:37:54 -07:00 |
|
Leonardo de Moura
|
dbc67242a1
|
chore(stage0): update
|
2019-07-08 17:40:30 -07:00 |
|
Leonardo de Moura
|
95dc2c5ade
|
chore(library/init/lean/parser): minor
|
2019-07-08 14:45:20 -07:00 |
|
Leonardo de Moura
|
f37cd3cd11
|
feat(library/init/lean/parser/term): match-expression
TODO: add whitespace sensitivity
|
2019-07-08 14:14:49 -07:00 |
|
Leonardo de Moura
|
5cfa13d08b
|
fix(library/init/lean/parser/parser): consume whitespace in the beginning of the input
|
2019-07-08 14:13:50 -07:00 |
|
Leonardo de Moura
|
f66f6fd455
|
fix(library/init/lean/parser/parser): The first tokens of try p are the first tokens of p
|
2019-07-08 13:46:19 -07:00 |
|
Leonardo de Moura
|
846ec9578d
|
fix(library/init/lean/parser/term): allow namedArgument notation in applications only
|
2019-07-08 13:43:12 -07:00 |
|
Leonardo de Moura
|
769e5fc8b1
|
chore(tests/playground/termparsertest1): add support for testing failures
|
2019-07-08 13:07:15 -07:00 |
|
Leonardo de Moura
|
4a17cf134b
|
feat(library/init/lean/parser/term): add forall parser
|
2019-07-08 13:03:21 -07:00 |
|
Leonardo de Moura
|
a6f9633e64
|
feat(library/init/lean/parser/term): dependent arrow notation
|
2019-07-08 12:57:49 -07:00 |
|
Leonardo de Moura
|
d3ca360e7f
|
feat(library/init/lean/parser): depArrow proof of concept
|
2019-07-08 10:49:54 -07:00 |
|
Leonardo de Moura
|
e2bcf179ac
|
fix(library/init/lean/parser/parser): missing trim
|
2019-07-08 10:33:51 -07:00 |
|
Leonardo de Moura
|
8b3d932212
|
chore(library/init/lean/parser): maxPrec ==> appPrec
|
2019-07-08 09:17:32 -07:00 |
|
Leonardo de Moura
|
1a81d60820
|
chore(frontends/lean/parser): simplify binder notation
The `<ident> : <expr>` now requires explicit brackets.
|
2019-07-08 08:54:19 -07:00 |
|
Leonardo de Moura
|
0fc9aa24bc
|
chore(frontends/lean/parser): remove "binder collection" support
This kind of notation will not be supported in the new builtin parser.
If users want they may define their own notation with this feature.
|
2019-07-08 08:36:29 -07:00 |
|
Leonardo de Moura
|
8fa888878f
|
chore(frontends/lean/parser): remove support for ⦃ binders
|
2019-07-07 08:37:49 -07:00 |
|