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

SCM Repository

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

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

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

revision 3408, Wed Nov 11 20:26:18 2015 UTC revision 3409, Wed Nov 11 22:38:14 2015 UTC
# Line 22  Line 22 
22    
23      datatype program = Program of {      datatype program = Program of {
24          props : StrandUtil.program_prop list,          props : StrandUtil.program_prop list,
25          globals : global_dcl list,          const_dcls : var_dcl list,                      (* constant variable declarations *)
26            input_dcls : (var_dcl * string option) list,    (* input variable declarations *)
27            globals : global_dcl list,                      (* global variable and function declarations *)
28          strand : strand,          strand : strand,
29          init : stmt option,          init : stmt option,
30          create : int option * expr,                     (* initial strand creation; first argument *)          create : int option * expr,                     (* initial strand creation; first argument *)
# Line 32  Line 34 
34    
35    (* global declarations *)    (* global declarations *)
36      and global_dcl      and global_dcl
37        = D_Const of var_dcl                              (* constant-variable declaration *)        = D_Var of var_dcl                                (* global-variable declaration *)
       | D_Input of var_dcl * string option              (* input-variable declaration *)  
       | D_Var of var_dcl                                (* global-variable declaration *)  
38        | D_Func of var * var list * stmt                 (* user-defined function *)        | D_Func of var * var list * stmt                 (* user-defined function *)
39    
40      and strand = Strand of {      and strand = Strand of {

Legend:
Removed from v.3408  
changed lines
  Added in v.3409

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