From 79b3fa3f26e410afc526b350232f967f8663d36c Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 19 Apr 2026 00:46:30 +0000 Subject: [PATCH] HS parser: add 'your' as alias for 'my' in property access In hyperscript, 'your' refers to the element in a 'tell' scope, functioning identically to 'my' for property access. Fixes "Expected into/before/after/at" parse errors in tell commands. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/hyperscript/parser.sx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hyperscript/parser.sx b/lib/hyperscript/parser.sx index 6db6160e..f380944a 100644 --- a/lib/hyperscript/parser.sx +++ b/lib/hyperscript/parser.sx @@ -158,7 +158,7 @@ (do (adv!) (list (make-symbol ".") (list (quote event)) "detail"))) - ((and (= typ "keyword") (= val "my")) + ((and (= typ "keyword") (or (= val "my") (= val "your"))) (do (adv!) (parse-poss-tail (list (quote me))))) ((and (= typ "keyword") (= val "its")) (do (adv!) (parse-poss-tail (list (quote it)))))