Commit graph

280 commits

Author SHA1 Message Date
Leonardo de Moura
b2ade985a8 feat: elaborate macro command 2020-01-17 19:52:29 -08:00
Leonardo de Moura
7cfd3f13ca chore: update function name 2020-01-17 17:48:18 -08:00
Leonardo de Moura
d16a979931 chore: remove auxiliary code and parser for _app_ 2020-01-17 17:43:44 -08:00
Leonardo de Moura
47fb604e78 chore: remove auxiliary _app_ 2020-01-17 17:39: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
e4123585b2 feat: modify app representation 2020-01-17 16:49:22 -08:00
Leonardo de Moura
1a217db3e9 chore: use auxiliary _app_ at Quotation 2020-01-17 16:15:49 -08:00
Leonardo de Moura
2eafb70585 chore: add auxiliary functions and simplify Quotation 2020-01-17 16:00:39 -08:00
Leonardo de Moura
d9dfaae3b8 feat: elaborate auxiliary app notation 2020-01-17 15:49:00 -08:00
Sebastian Ullrich
ec8227cfd4 fix: antiquotation kinds :term should not be new tokens 2020-01-17 09:42:34 -08:00
Leonardo de Moura
a98b6763ad fix: code and tests 2020-01-17 08:11:06 -08:00
Leonardo de Moura
14ae1166b1 feat: add unboxSingleton trick to sepBy1 2020-01-16 20:57:18 -08:00
Leonardo de Moura
ccd7af0008 feat: display unsolved goals 2020-01-16 20:25:22 -08:00
Leonardo de Moura
8862a82aac feat: add MessageData.ofGoal 2020-01-16 20:22:38 -08:00
Leonardo de Moura
833b1b0ff3 feat: add evalIntro 2020-01-16 20:10:24 -08:00
Leonardo de Moura
5a1221c491 chore: add helper 2020-01-16 19:54:00 -08:00
Leonardo de Moura
293990a309 feat: add eval for seq and assumption 2020-01-16 17:04:21 -08:00
Leonardo de Moura
1f673f1624 refactor: improve names, fields, etc 2020-01-16 16:53:07 -08:00
Leonardo de Moura
0b26fd2983 feat: allow empty begin .. end blocks, better position information 2020-01-16 16:07:59 -08:00
Leonardo de Moura
8e78fb177a feat: basic runTactic 2020-01-16 16:01:53 -08:00
Leonardo de Moura
b0298697c5 feat: add runTactic skelethon 2020-01-16 14:58:23 -08:00
Leonardo de Moura
49636c531f feat: add SynthesizeSyntheticMVars.lean
Reason: it depends on to include `Tactic.lean`, and `Tactic.lean`
depends on `Term.lean`
2020-01-16 12:58:37 -08:00
Leonardo de Moura
685e0f619b feat: more boilerplate 2020-01-16 11:34:46 -08:00
Leonardo de Moura
7a65c13800 feat: add TacticElab boilerplate 2020-01-16 11:16:14 -08:00
Leonardo de Moura
2e68ffb617 fix: missing set s 2020-01-16 11:12:53 -08:00
Leonardo de Moura
0e8c8784a5 feat: elaborate notation 2020-01-15 20:53:24 -08:00
Leonardo de Moura
4f84f66a8e fix: elabCommand main loop 2020-01-15 20:53:24 -08:00
Leonardo de Moura
f919041400 feat: expand precedence 2020-01-15 20:53:23 -08:00
Leonardo de Moura
6ff732f698 refactor: move notation comands to Syntax.lean 2020-01-15 20:53:23 -08:00
Leonardo de Moura
d9c6624a0a feat: add support for trailing syntax 2020-01-15 20:53:23 -08:00
Leonardo de Moura
ef4f50d6d5 fix: include macroStack and use getBetterRef when reporting IO errors 2020-01-15 20:53:23 -08:00
Leonardo de Moura
8963090142 chore: reduce code duplication 2020-01-15 20:53:23 -08:00
Leonardo de Moura
b9c161b30c feat: elaborate macro command 2020-01-15 20:53:23 -08:00
Leonardo de Moura
f280ad401a chore: add trace class `Elab.definition 2020-01-15 20:53:23 -08:00
Leonardo de Moura
b2b22fbe42 chore: fix bogus "too many explicit universe levels" error message 2020-01-15 20:53:23 -08:00
Leonardo de Moura
14310f4d5b chore: improve error message 2020-01-15 20:53:23 -08:00
Sebastian Ullrich
b1a59bb1cf refactor: simplify quoteSyntax 2020-01-15 17:47:08 +01:00
Leonardo de Moura
b14c7cb69b feat: allow user to set nodeKind at syntax command 2020-01-14 18:51:31 -08:00
Leonardo de Moura
664172d266 feat: elaborate syntax command 2020-01-14 18:18:43 -08:00
Leonardo de Moura
e7db119948 feat: add HasQuote for Option 2020-01-14 18:03:33 -08:00
Leonardo de Moura
2d83d49341 refactor: add Elab/Syntax.lean 2020-01-14 14:22:55 -08:00
Leonardo de Moura
b057f55e52 chore: add missing rules 2020-01-14 14:01:40 -08:00
Leonardo de Moura
aedd59258b fix: missing file 2020-01-13 16:52:12 -08:00
Sebastian Ullrich
2e5f62d44f test: parser/macro macros 2020-01-12 10:32:27 -08:00
Sebastian Ullrich
586f515470 fix: global name resolution of macro-introduced idents 2020-01-12 10:32:27 -08:00
Sebastian Ullrich
3f63635388 refactor: use adaptExpander in Elab.Quotation 2020-01-12 10:32:27 -08:00
Sebastian Ullrich
05d216beb0 feat: command elaboration step trace 2020-01-12 10:32:27 -08:00
Sebastian Ullrich
8d021e0cec fix: fresh macro scope per command 2020-01-12 10:32:27 -08:00
Sebastian Ullrich
c08fcdb662 chore: ad-hoc match_syntax support in the new frontend 2020-01-12 10:32:27 -08:00
Sebastian Ullrich
db2218cbfd feat: support antiquotation splices mixed with other items (quotation terms only) 2020-01-12 10:32:27 -08:00