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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/ast/ast.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/ast/ast.sml

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

revision 2210, Tue Feb 26 05:42:16 2013 UTC revision 2211, Tue Feb 26 12:13:36 2013 UTC
# Line 36  Line 36 
36        = D_Input of var * string option * expr option        = D_Input of var * string option * expr option
37        | D_Var of var_decl                       (* global variable decl *)        | D_Var of var_decl                       (* global variable decl *)
38        | D_Func of var * var list * stmt         (* user-defined function *)        | D_Func of var * var list * stmt         (* user-defined function *)
39        | D_Strand of {                           (* strand decl *)        | D_Strand of strand                      (* strand decl *)
             name : Atom.atom,  
             params : var list,  
             state : var_decl list,              (* true marks output variables *)  
             methods : method list  
           }  
40        | D_InitialArray of create * iter list        | D_InitialArray of create * iter list
41        | D_InitialCollection of create * iter list        | D_InitialCollection of create * iter list
42    
43      and var_decl      and var_decl
44        = VD_Decl of var * expr        = VD_Decl of var * expr
45    
46        and strand = Strand of {
47            name : Atom.atom,
48            params : var list,
49            state : var_decl list,          (* true marks output variables *)
50            methods : method list
51          }
52    
53      and method      and method
54        = M_Method of StrandUtil.method_name * stmt        = M_Method of StrandUtil.method_name * stmt
55    

Legend:
Removed from v.2210  
changed lines
  Added in v.2211

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