Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/tree-ir/tree-pp.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/tree-ir/tree-pp.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3850, Thu May 12 18:05:47 2016 UTC revision 3852, Fri May 13 15:00:57 2016 UTC
# Line 47  Line 47 
47                  end                  end
48            and toS (IR.E_Global x, l) = "::" :: GVar.toString x :: l            and toS (IR.E_Global x, l) = "::" :: GVar.toString x :: l
49              | toS (IR.E_State(NONE, x), l) = "self." :: SVar.toString x :: l              | toS (IR.E_State(NONE, x), l) = "self." :: SVar.toString x :: l
50              | toS (IR.E_State(SOME x, fld), l) = Var.toString x :: "." :: SVar.toString fld :: l              | toS (IR.E_State(SOME e, fld), l) = toS (e, "." :: SVar.toString fld :: l)
51              | toS (IR.E_Var x, l) = Var.name x :: l              | toS (IR.E_Var x, l) = Var.name x :: l
52              | toS (IR.E_Lit lit, l) = Literal.toString lit :: l              | toS (IR.E_Lit lit, l) = Literal.toString lit :: l
53              | toS (IR.E_Op(rator, args), l) = Op.toString rator :: argsToS ("(", args, ")", l)              | toS (IR.E_Op(rator, args), l) = Op.toString rator :: argsToS ("(", args, ")", l)
54                | toS (IR.E_Vec args, l) = argsToS ("#[", args, "]", l)
55              | toS (IR.E_Cons(args, ty), l) =              | toS (IR.E_Cons(args, ty), l) =
56                  "<" :: Ty.toString ty :: ">" :: argsToS ("[", args, "]", l)                  "<" :: Ty.toString ty :: ">" :: argsToS ("[", args, "]", l)
57              | toS (IR.E_Seq(args, ty), l) =              | toS (IR.E_Seq(args, ty), l) =

Legend:
Removed from v.3850  
changed lines
  Added in v.3852

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0