🎨 format
Some checks failed
Nasal Interpreter Test / mac-aarch64 (push) Has been cancelled
Nasal Interpreter Test / linux-x86_64 (push) Has been cancelled

This commit is contained in:
ValKmjolnir
2025-06-02 13:43:00 +08:00
parent 2cc5bb8625
commit af3d93ab64
53 changed files with 185 additions and 185 deletions

View File

@@ -15,7 +15,7 @@ var fib = func() {
var (a, b) = (1, 1);
coroutine.yield(a);
coroutine.yield(b);
while(1) {
while (1) {
(a, b) = (b, a + b);
coroutine.yield(b);
}
@@ -95,7 +95,7 @@ println("[2] ok\n");
# pressure test
for (var t = 0; t < 10; t += 1) {
var productor = func() {
while(1) {
while (1) {
coroutine.yield(i);
}
}