Mercurial > repos > rhope
diff putchar.rhope @ 49:3e20ed8959c4
Added initial FFI implementation, Array type and 64-bit integers
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 08 Apr 2010 01:02:18 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/putchar.rhope Thu Apr 08 01:02:18 2010 -0400 @@ -0,0 +1,17 @@ + + +Foreign C:libc +{ + putchar[char(Int32,Naked):out(Int32,Naked)] +} + +Main[] +{ + putchar[72] + { putchar[101] + { putchar[108] + { putchar[108] + { putchar[111] + { putchar[10] }}}}} +} +