HS: bind feature parser stub (+32 tests)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 43s

Add `bind` keyword to tokenizer, parse-bind-feat to parser, and
bind-feat no-op case to compiler. Handles `bind X to Y`, `bind X and Y`,
`bind X with Y`, and optional trailing `end` forms. All 43/44 bind tests
pass (1 is an explicit skip).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-04 22:29:11 +00:00
parent 0276571f08
commit 846650da07
6 changed files with 44 additions and 2 deletions

View File

@@ -209,7 +209,8 @@
"using"
"giving"
"ask"
"answer"))
"answer"
"bind"))
(define hs-keyword? (fn (word) (some (fn (k) (= k word)) hs-keywords)))