Logo
Explore Help
Register Sign In
tomoaki/hakorune
1
0
Fork 0
You've already forked hakorune
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
cc1a0946b0fe65a8c508e2b5cecebdfa1caa7e8f
hakorune/apps/tests/phase100_string_accumulator_min.hako

16 lines
309 B
Plaintext
Raw Normal View History

test: Phase 100 string accumulator fixture+smokes (VM+LLVM) - Add phase100_string_accumulator_min.hako fixture * out = out + ch string accumulation * print(out.length()) for stable numeric output - Add VM smoke: phase100_string_accumulator_vm.sh - Add LLVM EXE smoke: phase100_string_accumulator_llvm_exe.sh (Phase 97 gating) - Regression: all phase100/97/94 tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 16:33:26 +09:00
static box Main {
main() {
local out = ""
local s = "abc"
local i = 0
loop(i < 3) {
if i >= 3 { break }
local ch = s.substring(i, i + 1)
out = out + ch
i = i + 1
}
print(out.length())
return 0
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 33ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API