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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/simplify/simple.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/simplify/simple.sml

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

revision 2491, Tue Oct 22 14:56:58 2013 UTC revision 2492, Tue Oct 22 15:25:50 2013 UTC
# Line 93  Line 93 
93        | E_Apply of var * var list * ty                          (* user-defined function *)        | E_Apply of var * var list * ty                          (* user-defined function *)
94        | E_Prim of AST.var * meta_arg list * var list * ty       (* Diderot builtin *)        | E_Prim of AST.var * meta_arg list * var list * ty       (* Diderot builtin *)
95        | E_Cons of var list        | E_Cons of var list
96        | E_Slice of var * var option list * Types.ty     (* tensor slicing *)        | E_Slice of var * var option list * ty                   (* tensor slicing *)
97        | E_Coerce of {srcTy : Types.ty, dstTy : Types.ty, x : var}        | E_Coerce of {srcTy : ty, dstTy : ty, x : var}
98        | E_Input of Types.ty * string * string * var option        | E_Input of ty * string * string option * var option
99        | E_LoadImage of ImageInfo.info * var        | E_LoadImage of ImageInfo.info * var
100    
101      fun typeOf (E_Var(V{ty, ...})) = ty      fun typeOf (E_Var(V{ty, ...})) = ty

Legend:
Removed from v.2491  
changed lines
  Added in v.2492

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