feat: eval paren tactic

This commit is contained in:
Leonardo de Moura 2020-01-18 18:15:27 -08:00
parent 65f004ebcd
commit 2e6ac0cd61

View file

@ -280,6 +280,9 @@ fun stx => match_syntax stx with
setGoals (gs' ++ gs)
| _ => throwUnsupportedSyntax
@[builtinTactic paren] def evalParen : Tactic :=
fun stx => evalTactic (stx.getArg 1)
@[builtinTactic nestedTacticBlock] def evalNestedTacticBlock : Tactic :=
fun stx => focus stx (evalTactic (stx.getArg 1))