src/test/01-Basic/132.ck
raw| 1 | // 1.5.0.5 or higher |
| 2 | |
| 3 | // each of these will be evaluated and run as code, |
| 4 | // each on its independent shred; Machine.eval() automatically |
| 5 | // yields the originating "evaluator" shred, giving the evaluated |
| 6 | // code a chance to run without advancing time |
| 7 | Machine.eval( "<<< 1 >>>;" ); |
| 8 | <<< "a" >>>; |
| 9 | Machine.eval( "<<< 2 >>>;" ); |
| 10 | <<< "b" >>>; |
| 11 | Machine.eval( "<<< 3 >>>;" ); |
| 12 | <<< "c" >>>; |