diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-18 20:44:56 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-18 20:46:10 -0700 |
commit | 47219d0b2b41096547a02b506d7413fe9a3d308a (patch) | |
tree | 060efeeec60ae609951f1ae00fc26ba916c3df10 /filesystem.mu | |
parent | 4588af9793a486a46fe04d1d67ab083b242db1a7 (diff) | |
download | mu-47219d0b2b41096547a02b506d7413fe9a3d308a.tar.gz |
3224
Diffstat (limited to 'filesystem.mu')
-rw-r--r-- | filesystem.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filesystem.mu b/filesystem.mu index 7aa919e6..274397be 100644 --- a/filesystem.mu +++ b/filesystem.mu @@ -1,6 +1,6 @@ def main [ local-scope - $print [file to read from: ], [/tmp/mu-fs] + $print [reading characters from /tmp/mu-fs], 10/newline # initialize filesystem fs:address:filesystem <- copy 0/real-filesystem content-source:address:source:character <- start-reading fs, [/tmp/mu-fs] @@ -8,9 +8,9 @@ def main [ { c:character, done?:boolean, content-source <- read content-source break-if done? - $print [Next: ], c, 10/newline + $print [ ], c, 10/newline loop } - $print [Done reading], 10/newline + $print [done reading], 10/newline # TODO: writing to file ] |