Implement nearest-loop transfers and reachable binding analysis

This commit is contained in:
Codex committed 2026-11-23 19:41:01 +08:00
1 parent 095eef1370
commit 69c5dc8d20
40 files changed
+953 -110

No files matched your search

@@ -0,0 +1,41 @@
## @exec main
`外 = 0`
`合计 = 0`
`while 外 < 3`
`外 = 外 + 1`
`内 = 0`
`while 内 < 4`
`内 = 内 + 1`
`if 内 == 1`
`continue`
`else if 内 == 3`
`break`
`end`
`合计 = 合计 + 外`
`end`
`if 外 == 2`
`continue`
`end`
`合计 = 合计 + 10`
`end`
`return 合计`