Commit 05b39a7
embed: route host-syntax sugar through the tree-walker in BC compile
(.method target ...), (.-field target), and TypeName/staticMethod
rewrites live in eval_try_host_syntax, which only runs when the
tree-walker dispatches a cons form. Names starting with a dot or
formatted like Capital/method now delegate from the BC compiler to
the tree-walker so a BC-compiled fn body can use host interop.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 336bf34 commit 05b39a7
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
499 | 516 | | |
500 | 517 | | |
501 | 518 | | |
| |||
0 commit comments