Parse aggregates

This commit is contained in:
2026-04-29 20:58:09 -06:00
parent c3de45d84f
commit c29ee4851d
2 changed files with 75 additions and 7 deletions

View File

@@ -118,6 +118,7 @@ export default grammar({
seq('(', field("parens", $.expr), ')'),
),
// TODO: rename to "apply"
atom: $ => prec.right(2, seq(field("head", $.symbol), field("body", $.expr))),
tuple: $ => parenListComma(field("el", $.expr)),