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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-util/gen-inputs.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-util/gen-inputs.sml

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

revision 2819, Sun Nov 9 02:20:26 2014 UTC revision 2820, Sun Nov 9 02:20:46 2014 UTC
# Line 6  Line 6 
6    
7  structure GenInputs : sig  structure GenInputs : sig
8    
9    (* input variable descriptor: type, name, description, has default *)    (* input variable descriptor: type, name, description, and default *)
10      type input_desc = (TreeIL.global_var * string * string option * TreeIL.exp option)      type input_desc = (TreeIL.global_var * string * string option * TreeIL.exp option)
11    
12      val gatherInputs : TreeIL.block -> input_desc list      val gatherInputs : TreeIL.block -> input_desc list
# Line 18  Line 18 
18     *)     *)
19      val genInputsStruct : Properties.props * input_desc list -> CLang.decl list      val genInputsStruct : Properties.props * input_desc list -> CLang.decl list
20    
21    (* generate the functions that handle inputs for standalone executables.  These are:    (* generate the common functions that handle inputs for standalone executables.  These are:
22     *    InitDefaults    -- called to initialize the default input values     *    InitDefaults    -- called to initialize the default input values
23     *    RegisterInputs  -- called to register the command-line options for the input globals     *    RegisterInputs  -- called to register the command-line options for the input globals
24     *    InitInptus      -- called to initialize the input globals from the values specified     *    InitInptus      -- called to initialize the input globals from the values specified

Legend:
Removed from v.2819  
changed lines
  Added in v.2820

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