giles
15c310cdc1
js-on-sx: object + array destructuring
Parser: jp-parse-vardecl handles {a, b} obj pattern and [a, , c]
arr pattern (with hole support) in addition to plain idents.
Emits (js-vardecl-obj names rhs) and (js-vardecl-arr names rhs).
Transpile: js-vardecl-forms dispatches on tag. Destructures emit
(define __destruct__ rhs) then (define name (js-get-prop __destruct__
key-or-index)) for each pattern element. Array holes (nil) are skipped.
418/420 unit (+4), 148/148 slice unchanged.
2026-04-23 22:32:24 +00:00
..
2026-04-23 19:42:16 +00:00
2026-04-23 19:42:16 +00:00
2026-04-23 19:42:16 +00:00
2026-04-23 20:27:19 +00:00
2026-04-23 22:32:24 +00:00
2026-04-23 22:10:15 +00:00
2026-04-23 20:27:19 +00:00
2026-04-23 20:08:46 +00:00
2026-04-23 20:08:46 +00:00
2026-04-23 22:32:24 +00:00
2026-04-23 22:32:24 +00:00