using: [ [ using = OPT [ IDENT "using"; t = tactic_term -> t ] -> using ] ];
ntactic: [
[ IDENT "napply"; t = tactic_term -> G.NApply (loc, t)
+ | IDENT "napplyS"; t = tactic_term -> G.NSmartApply (loc, t)
| IDENT "nassert";
seqs = LIST0 [
hyps = LIST0
concl = tactic_term -> (List.rev hyps,concl) ] ->
G.NAssert (loc, seqs)
| IDENT "nauto"; params = auto_params -> G.NAuto (loc, params)
+ | SYMBOL "/"; num = OPT NUMBER ; SYMBOL "/" ->
+ let depth = match num with Some n -> n | None -> "1" in
+ G.NAuto (loc, ([],["slir","";"depth",depth]))
| IDENT "ncases"; what = tactic_term ; where = pattern_spec ->
G.NCases (loc, what, where)
| IDENT "nchange"; what = pattern_spec; "with"; with_what = tactic_term ->