Commit graph

306 commits

Author SHA1 Message Date
Leonardo de Moura
e57d3431ee refactor: move basic Syntax API to LeanInit
We want to make them available for `macro`-building
2020-01-19 14:44:03 -08:00
Leonardo de Moura
312ea061b1 chore: use toExpr
cc @Kha
2020-01-19 11:58:17 -08:00
Sebastian Ullrich
6e1d70aaf2 feat: elaborate quoted names 2020-01-19 11:58:17 -08:00
Sebastian Ullrich
6c2a2cfa35 feat: support postfix syntax in macro 2020-01-19 11:58:17 -08:00
Leonardo de Moura
655da9baef fix: tag refine subgoals 2020-01-19 11:58:17 -08:00
Sebastian Ullrich
7f4e1db86b refactor: replace mkTermIdFromIdent with antiquotation kind where possible 2020-01-19 08:28:49 -08:00
Sebastian Ullrich
9790b2b390 fix: hygienic mkTermId for constants 2020-01-19 08:28:49 -08:00
Leonardo de Moura
86edc94dbe feat: add support for elaborating raw literals 2020-01-18 20:02:50 -08:00
Leonardo de Moura
be571e8d42 feat: elaborate new macro argument types 2020-01-18 19:41:17 -08:00
Leonardo de Moura
3e86608ce2 fix: erase macro scopes from parser categories 2020-01-18 19:10:35 -08:00
Leonardo de Moura
284447e43b chore: style 2020-01-18 18:58:56 -08:00
Leonardo de Moura
53480e077d feat: ensure tactics invoke synthesizeSyntheticMVars at elabTerm 2020-01-18 18:44:27 -08:00
Leonardo de Moura
1c6d6cccb9 chore: style 2020-01-18 18:27:52 -08:00
Leonardo de Moura
ad72ec4d0d feat: eval <|> tactic 2020-01-18 18:26:25 -08:00
Leonardo de Moura
c6df6b775b fix: Tactic.elabTerm must disable errToSorry 2020-01-18 18:25:59 -08:00
Leonardo de Moura
2e6ac0cd61 feat: eval paren tactic 2020-01-18 18:15:27 -08:00
Leonardo de Moura
66b222879e feat: eval case tactic 2020-01-18 17:47:43 -08:00
Leonardo de Moura
39dc349167 feat: eval tactic block 2020-01-18 17:22:01 -08:00
Leonardo de Moura
fed91dcbfa chore: add line break between goals 2020-01-18 16:47:08 -08:00
Leonardo de Moura
e4fca53deb chore: use getUnsolvedGoals 2020-01-18 16:45:35 -08:00
Leonardo de Moura
9f0b8847de feat: eval refine 2020-01-18 16:42:27 -08:00
Leonardo de Moura
972ee48b6f feat: prune solved goals 2020-01-18 16:12:34 -08:00
Leonardo de Moura
adf9f325bf fix: holes that should be filled by tatics must be marked as syntheticOpaque 2020-01-18 15:38:33 -08:00
Leonardo de Moura
d41325681d feat: elaborate named hole 2020-01-18 15:25:43 -08:00
Leonardo de Moura
42fc213573 fix: report unsolved goals at end 2020-01-18 11:34:57 -08:00
Leonardo de Moura
88f5bf8250 feat: evaluate exact tactic 2020-01-18 11:08:16 -08:00
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