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

SCM Repository

[diderot] View of /branches/pure-cfg/test/1d.diderot
ViewVC logotype

View of /branches/pure-cfg/test/1d.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1014 - (download) (annotate)
Fri Apr 29 19:26:54 2011 UTC (8 years, 4 months ago) by glk
File size: 557 byte(s)
cant seem to have 1D set of strands
// 1D
//
// want to have a 1-D set of strands

// [1d.diderot:13.1] Error: syntax error; try deleting "initially [ sample ( ui ) | ui in 0 .. 10 ] ;"
// uncaught exception Fail [Fail: Error in compiling 1d.diderot]
//   raised at common/phase-timer.sml:80.50-80.52
//   raised at common/phase-timer.sml:80.50-80.52
//   raised at common/phase-timer.sml:80.50-80.52
//   raised at driver/main.sml:31.39-31.76

strand sample (int ui) {
    output int out =  1;
    update {
        out = 1;
        stabilize;
    }
}

initially [ sample(ui) | ui in 0..10 ];

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