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
1e1d0315b35ba7e36f9052d248387f06d0cf64e5
hakorune/apps/tests/phase286_pattern9_frag_poc.hako

18 lines
371 B
Plaintext
Raw Normal View History

feat(joinir): Phase 286 P2.3 + Phase 287 - Pattern9 Plan化 + Router table-driven ## Phase 286 P2.3: Pattern9 AccumConstLoop Plan化 PoC - DomainPlan::Pattern9AccumConstLoop 追加 - PlanNormalizer::normalize_pattern9_accum_const_loop() 実装 - PHI 2本(loop_var, acc_var) - const/var 両方 OK(sum = sum + 1 または sum = sum + i) - Pattern9 は Pattern1 より優先(より具体的なパターン) - Integration test: phase286_pattern9_frag_poc PASS (return: 3) - Regression: quick 154 PASS ## Phase 287: Router table-driven Plan extraction - PLAN_EXTRACTORS static table で Pattern6/7/4/9/1 を統一管理 - PlanExtractorEntry/PlanExtractorVariant 構造体追加 - try_plan_extractors() で ~100行 → 3行に集約 - メンテナンス性向上(新 Pattern 追加はテーブル1行追加のみ) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 02:38:09 +09:00
// Phase 286 P2.3: Pattern9 → Frag PoC minimal fixture
// Expected: return 3 (sum = 0 + 1 + 1 + 1 = 3)
// Design: Pattern1 + carrier1本 + const加算の最小固定
static box Main {
main() {
local i
local sum
i = 0
sum = 0
loop(i < 3) {
sum = sum + 1
i = i + 1
}
return sum
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 118ms Template: 3ms
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