SCM Repository
Diff of /branches/pure-cfg/src/compiler/codegen/tree-il.sml
Parent Directory
|
Revision Log
|
Patch
revision 532, Mon Feb 14 20:26:41 2011 UTC | revision 533, Mon Feb 14 22:56:45 2011 UTC | |
---|---|---|
# | Line 41 | Line 41 |
41 | and stm | and stm |
42 | = S_Comment of string list | = S_Comment of string list |
43 | | S_Assign of var * exp | | S_Assign of var * exp |
44 | | S_Cons of var * exp list (* tensor-value construction *) | |
45 | | S_LoadImage of var * int * exp (* load image data *) | |
46 | | S_Input of var * string * exp option (* get input *) | |
47 | | S_IfThen of exp * block | | S_IfThen of exp * block |
48 | | S_IfThenElse of exp * block * block | | S_IfThenElse of exp * block * block |
49 | | S_Die | | S_Die |
# | Line 50 | Line 53 |
53 | = E_Var of var | = E_Var of var |
54 | | E_Lit of Literal.literal | | E_Lit of Literal.literal |
55 | | E_Op of Op.rator * exp list | | E_Op of Op.rator * exp list |
| E_Cons of exp list (* tensor-value construction *) | ||
56 | ||
57 | and var = V of { | and var = V of { |
58 | name : string, (* name (should be unique) *) | name : string, (* name (should be unique) *) |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |