go: Phase 9 closed — 12 end-to-end programs, total 609/609 [nothing]
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 29s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 29s
12 canonical Go programs running through the full pipeline (lex + parse + types + eval + sched + stdlib): sieve-of-Eratosthenes via boolean slice (modulo-free), linear search, slice reverse, fib(10), sum-of-squares via generic Map+Reduce, word-freq counter, channel pipeline (gen→sq→sum), worker pool, bubble sort, sentence-reverse, Filter+len, Ackermann, defer+recover on div-by-zero. Each test threads ONE self-contained Go program through go-eval- program. The v0 limitations chiselled in earlier phases (float division, sync spawn, type erasure, nil-as-unbound) are now durable as commit-trail artifacts; e2e variants written to avoid them where possible. HTTP-ish ping-pong + WaitGroup deferred (real preemption + sync package needed). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,7 @@ SUITES=(
|
||||
"eval|go-eval-test-pass|go-eval-test-count"
|
||||
"runtime|go-rt-test-pass|go-rt-test-count"
|
||||
"stdlib|go-std-test-pass|go-std-test-count"
|
||||
"e2e|go-e2e-test-pass|go-e2e-test-count"
|
||||
)
|
||||
|
||||
cat > "$TMPFILE" <<'EPOCHS'
|
||||
@@ -53,6 +54,7 @@ cat > "$TMPFILE" <<'EPOCHS'
|
||||
(load "lib/go/tests/eval.sx")
|
||||
(load "lib/go/tests/runtime.sx")
|
||||
(load "lib/go/tests/stdlib.sx")
|
||||
(load "lib/go/tests/e2e.sx")
|
||||
EPOCHS
|
||||
|
||||
idx=0
|
||||
@@ -116,9 +118,7 @@ cat > lib/go/scoreboard.json <<JSON
|
||||
"language": "go",
|
||||
"total_pass": $TOTAL_PASS,
|
||||
"total": $TOTAL_COUNT,
|
||||
"suites": [$JSON_SUITES,
|
||||
{"name":"e2e","pass":0,"total":0,"status":"pending"}
|
||||
]
|
||||
"suites": [$JSON_SUITES]
|
||||
}
|
||||
JSON
|
||||
|
||||
@@ -129,7 +129,7 @@ cat > lib/go/scoreboard.md <<MD
|
||||
|
||||
| | Suite | Pass | Total |
|
||||
|---|---|---|---|
|
||||
$MD_ROWS| ⬜ | e2e | 0 | 0 |
|
||||
$MD_ROWS
|
||||
|
||||
Generated by \`lib/go/conformance.sh\`.
|
||||
MD
|
||||
|
||||
Reference in New Issue
Block a user