diff options
author | Julien Dessaux | 2022-06-09 23:17:53 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-06-09 23:18:27 +0200 |
commit | 75fc1506e59c1eaa52971d20df72c7cbeca5ac82 (patch) | |
tree | 09ac84d955f9fc1f7c8bc5a11415f765296de42b /src/defaultIO.zig | |
parent | Added submodules for the spec and the mycology test suite (diff) | |
download | zigfunge98-75fc1506e59c1eaa52971d20df72c7cbeca5ac82.tar.gz zigfunge98-75fc1506e59c1eaa52971d20df72c7cbeca5ac82.tar.bz2 zigfunge98-75fc1506e59c1eaa52971d20df72c7cbeca5ac82.zip |
Pass the sanity test
Diffstat (limited to 'src/defaultIO.zig')
-rw-r--r-- | src/defaultIO.zig | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/defaultIO.zig b/src/defaultIO.zig index b87c2d6..9da4ad2 100644 --- a/src/defaultIO.zig +++ b/src/defaultIO.zig @@ -16,15 +16,13 @@ pub fn decimalInput() IOErrors!i64 { } pub fn characterOutput(v: i64) IOErrors!void { - // TODO - _ = v; - return error.NotImplemented; + std.debug.print("{c}", .{@intCast(u8, v)}); + return; } pub fn decimalOutput(v: i64) IOErrors!void { - // TODO - _ = v; - return error.NotImplemented; + std.debug.print("{d}", .{v}); + return; } test "all" { |