X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.ml;h=1c85b567d48feb17d98064632c60718f4531f15d;hb=8abfe27fa567230a897c5c622601698ba261adf0;hp=1a11ec62f0d788e06a15c55d3c3f3453ccb73e7d;hpb=14d7eabdb425c4dbcda5de18fac0735fde5d176b;p=helm.git diff --git a/helm/software/components/grafite_parser/grafiteParser.ml b/helm/software/components/grafite_parser/grafiteParser.ml index 1a11ec62f..1c85b567d 100644 --- a/helm/software/components/grafite_parser/grafiteParser.ml +++ b/helm/software/components/grafite_parser/grafiteParser.ml @@ -231,6 +231,17 @@ EXTEND GrafiteAst.Symmetry loc | IDENT "transitivity"; t = tactic_term -> GrafiteAst.Transitivity (loc, t) + (* Produzioni Aggiunte *) + | IDENT "assume" ; id = IDENT ; SYMBOL ":" ; t = tactic_term -> + GrafiteAst.Assume (loc, id, t) + | IDENT "suppose" ; t = tactic_term ; LPAREN ; id = IDENT ; RPAREN -> + GrafiteAst.Suppose (loc, t, id) + | IDENT "by" ; t = tactic_term ; IDENT "we" ; IDENT "proved" ; ty = tactic_term ; LPAREN ; id = IDENT ; RPAREN -> + GrafiteAst.By_term_we_proved (loc, t, ty, id) + | IDENT "we" ; IDENT "need" ; "to" ; IDENT "prove" ; t = tactic_term ; LPAREN ; id = IDENT ; RPAREN -> + GrafiteAst.We_need_to_prove (loc, t, id) + | IDENT "by" ; t = tactic_term ; IDENT "done" -> + GrafiteAst.Bydone (loc, t) ] ]; atomic_tactical: