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

SCM Repository

[diderot] Diff of /tests/rtest/tests/consts1/consts1.diderot
ViewVC logotype

Diff of /tests/rtest/tests/consts1/consts1.diderot

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

revision 5089, Sun Jul 16 19:37:07 2017 UTC revision 5090, Sun Jul 16 19:38:40 2017 UTC
# Line 2  Line 2 
2    
3  /* consts1.diderot  /* consts1.diderot
4   *   *
5   * Test overriding constant definitions from the command line   * Test overriding constant definitions from the command line.  This test targets
6     * basic value types.
7   *   *
8   * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)   * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
9   *   *
# Line 20  Line 21 
21  const real c8 = 1.0;  const real c8 = 1.0;
22  const string c9 = "default";  const string c9 = "default";
23    
 /* TODO: strings, higher-order tensors, sequences */  
   
24  initialize {  initialize {
25      print ("c1 = ", c1, "\n");      print ("c1 = ", c1, "\n");
26      print ("c2 = ", c2, "\n");      print ("c2 = ", c2, "\n");

Legend:
Removed from v.5089  
changed lines
  Added in v.5090

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