Mercurial > repos > icfp2012
view src/lifter.tp @ 29:d9f1a063a466
interactive mode works
author | William Morgan <bill@mrgn.org> |
---|---|
date | Sat, 14 Jul 2012 20:14:58 -0700 |
parents | 7a274d6026c8 |
children | f7a1daaec925 |
line wrap: on
line source
#{ main <- { text <- sim readFd: 0 playfield <- (sim state) fromStr: text os write: 2 text os write: 2 "width: " . (string: (playfield width)) . "\n" os write: 2 "height: " . (string: (playfield height)) . "\n" } }