commit ae00e4293104b83014ee33629b85e7be6050552a (tree)
parent 232745a5dd78186dfa555848238e75fa5d3a7326
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Sun, 15 Feb 2026 08:45:03 +0000
add skill
Diffstat:
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/stage0/.claude/skills/port-astgen/SKILL.md b/stage0/.claude/skills/port-astgen/SKILL.md
@@ -86,5 +86,11 @@ Co-Authored-By: <whatever model is running this>"
### Step 8: Repeat
-Go back to Step 1. **Never stop early** — continue until all
-`SkipZigTest` lines are gone and all tests pass.
+Go back to Step 1. **Never stop early** — continue until all `SkipZigTest`
+lines are gone, all tests are un-commented and all tests pass.
+
+If you decide that "it's done", do a final sanity check:
+
+ zig build all-zig0 -Dvalgrind
+
+If that fails, go back to 1.
diff --git a/stage0/astgen_test.zig b/stage0/astgen_test.zig
@@ -1056,13 +1056,6 @@ test "astgen: corpus multi_array_list.zig" {
try corpusCheck(gpa, @embedFile("../lib/std/multi_array_list.zig"));
}
-// Later much later
-//test "astgen: corpus Sema.zig" {
-// if (true) return error.SkipZigTest; // TODO: too large, work on smaller files first
-// const gpa = std.testing.allocator;
-// try corpusCheck(gpa, @embedFile("../src/Sema.zig"));
-//}
-
test "astgen: enum decl" {
const gpa = std.testing.allocator;
const source: [:0]const u8 = "const E = enum { a, b, c };";