Leonardo de Moura
d16a979931
chore: remove auxiliary code and parser for _app_
2020-01-17 17:43:44 -08:00
Leonardo de Moura
0caa11e242
chore: adjust frontend to new app representation, and fix tests
2020-01-17 17:34:48 -08:00
Leonardo de Moura
d9dfaae3b8
feat: elaborate auxiliary app notation
2020-01-17 15:49:00 -08:00
Leonardo de Moura
f783115d21
refactor: SyntaxNode => Syntax at TermElab and CommandElab
...
@Kha It is too annoying to write `.val` all over the place. Moreover,
we now have `match_syntax`.
2020-01-10 15:17:58 -08:00
Leonardo de Moura
f73ff914eb
feat: extensible elaboration functions
...
@kha `termParserAttr.lean` has a small example
2020-01-10 15:05:14 -08:00
Leonardo de Moura
733ea89000
feat: improve application type mismatch error message
2020-01-09 16:41:27 -08:00
Leonardo de Moura
20c0a63908
feat: add support for optParam
2020-01-06 16:41:48 -08:00
Leonardo de Moura
04a0907954
feat: add throwUnexpectedSyntax
...
@kha From now on, let's use `throwUnexpectedSyntax` instead of `unreachable!` at
`match_syntax`. The `unreachable!` makes sense when the syntax was
created by our parser, but ill-formed syntax may be created by macros,
and we have no control on how users will create the resulting syntax object.
2020-01-02 13:51:02 -08:00
Leonardo de Moura
cbe65a068e
fix: addLValArg
2020-01-01 16:02:55 -08:00
Leonardo de Moura
b1570ba865
feat: elaborate sortApp
2019-12-30 11:00:13 -08:00
Leonardo de Moura
74741bf613
feat: elaborate explicit universe levels
2019-12-30 10:52:22 -08:00
Sebastian Ullrich
ec13f37414
refactor: use more quotations in the elaborator
2019-12-30 10:19:14 -08:00
Leonardo de Moura
9d53fa701c
chore: combine MessageData.context + MessageData.withOptions into MessageData.context
2019-12-22 09:15:04 -08:00
Sebastian Ullrich
1361d5cefe
chore: elaborator comments and minor changes
2019-12-20 07:42:08 -08:00
Leonardo de Moura
f7562ce94d
fix: bug at addLValArg
2019-12-19 14:44:35 -08:00
Leonardo de Moura
bfca7e32e0
fix: try to postpone if function type is not known
2019-12-19 14:20:56 -08:00
Leonardo de Moura
57f6881c6c
feat: restore state when catching Exception.postpone
...
cc @Kha
2019-12-19 13:21:11 -08:00
Leonardo de Moura
49bdbf7eb2
chore: style
2019-12-19 08:43:17 -08:00
Leonardo de Moura
76d351d830
refactor: split Elab/Term.lean into smaller files
2019-12-19 07:26:54 -08:00