X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite%2FgrafiteAstPp.ml;h=d383448249bf0743bbc172103e3bb917c3b5a42c;hb=3ce27112fe93ced5f67cc6af8fc63037eba3f322;hp=43d03b9af5b42fc8e986978add05344f6336c9ee;hpb=3f9cb46b5e167955e85b3d2544f1bed90f1a25b7;p=helm.git diff --git a/matita/components/grafite/grafiteAstPp.ml b/matita/components/grafite/grafiteAstPp.ml index 43d03b9af..d38344824 100644 --- a/matita/components/grafite/grafiteAstPp.ml +++ b/matita/components/grafite/grafiteAstPp.ml @@ -63,22 +63,23 @@ let rec pp_ntactic ~map_unicode_to_tex = (String.concat "," (List.map NotationPp.pp_term l)) ^ String.concat " " (List.map (fun a,b -> a ^ "=" ^ b) flgs) | NCases (_,what,where) -> "ncases " ^ NotationPp.pp_term what ^ - assert false ^ " " ^ assert false + "...to be implemented..." ^ " " ^ "...to be implemented..." | NConstructor (_,None,l) -> "@ " ^ String.concat " " (List.map NotationPp.pp_term l) | NConstructor (_,Some x,l) -> "@" ^ string_of_int x ^ " " ^ String.concat " " (List.map NotationPp.pp_term l) | NCase1 (_,n) -> "*" ^ n ^ ":" - | NChange (_,what,wwhat) -> "nchange " ^ assert false ^ + | NChange (_,what,wwhat) -> "nchange " ^ "...to be implemented..." ^ " with " ^ NotationPp.pp_term wwhat | NCut (_,t) -> "ncut " ^ NotationPp.pp_term t (*| NDiscriminate (_,t) -> "ndiscriminate " ^ NotationPp.pp_term t | NSubst (_,t) -> "nsubst " ^ NotationPp.pp_term t *) | NDestruct (_,dom,skip) -> "ndestruct ..." | NElim (_,what,where) -> "nelim " ^ NotationPp.pp_term what ^ - assert false ^ " " ^ assert false + "...to be implemented..." ^ " " ^ "...to be implemented..." | NId _ -> "nid" | NIntro (_,n) -> "#" ^ n + | NIntros (_,l) -> "#" ^ String.concat " " l | NInversion (_,what,where) -> "ninversion " ^ NotationPp.pp_term what ^ assert false ^ " " ^ assert false | NLApply (_,t) -> "lapply " ^ NotationPp.pp_term t @@ -86,19 +87,19 @@ let rec pp_ntactic ~map_unicode_to_tex = (match dir with `LeftToRight -> ">" | `RightToLeft -> "<") ^ " " ^ NotationPp.pp_term n ^ " " ^ pp_tactic_pattern where | NReduce _ | NGeneralize _ | NLetIn _ | NAssert _ -> "TO BE IMPLEMENTED" - | NDot _ -> "##." - | NSemicolon _ -> "##;" - | NBranch _ -> "##[" - | NShift _ -> "##|" - | NPos (_, l) -> "##" ^String.concat "," (List.map string_of_int l)^ ":" - | NPosbyname (_, s) -> "##" ^ s ^ ":" - | NWildcard _ -> "##*:" - | NMerge _ -> "##]" + | NDot _ -> "." + | NSemicolon _ -> ";" + | NBranch _ -> "[" + | NShift _ -> "|" + | NPos (_, l) -> String.concat "," (List.map string_of_int l)^ ":" + | NPosbyname (_, s) -> s ^ ":" + | NWildcard _ -> "*:" + | NMerge _ -> "]" | NFocus (_,l) -> - Printf.sprintf "##focus %s" + Printf.sprintf "focus %s" (String.concat " " (List.map string_of_int l)) - | NUnfocus _ -> "##unfocus" - | NSkip _ -> "##skip" + | NUnfocus _ -> "unfocus" + | NSkip _ -> "skip" | NTry (_,tac) -> "ntry " ^ pp_ntactic ~map_unicode_to_tex tac | NAssumption _ -> "nassumption" | NBlock (_,l) ->