aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.zig
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-06-26 00:54:39 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2023-06-26 00:54:39 +0200
commita2b0b976a688ce2f6694f1767961b31ccfdb510f (patch)
tree18a2baf09cc1fecdc79a73cdf8ad9f9cc51fd47e /build.zig
parent2705e16c364f6a224e418fa895b9a60246a8bad0 (diff)
First tokenization exerice.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig21
1 files changed, 21 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 4ca48be..7dbf679 100644
--- a/build.zig
+++ b/build.zig
@@ -1058,6 +1058,27 @@ const exercises = [_]Exercise{
.kind = .@"test",
},
.{
+ .main_file = "103_tokenization.zig",
+ .output =
+ \\My
+ \\name
+ \\is
+ \\Ozymandias
+ \\King
+ \\of
+ \\Kings
+ \\Look
+ \\on
+ \\my
+ \\Works
+ \\ye
+ \\Mighty
+ \\and
+ \\despair
+ \\This little poem has 15 words!
+ ,
+ },
+ .{
.main_file = "999_the_end.zig",
.output =
\\