From 937c915ab2d19934786e352b1bc2d419ac235ce7 Mon Sep 17 00:00:00 2001 From: nodist Date: Tue, 5 May 2026 16:48:04 -0400 Subject: split templates and alias --- docs/syntax/index.md | 6 ++++++ docs/type_system/index.md | 20 +++++++------------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/syntax/index.md b/docs/syntax/index.md index 1318219..cbea641 100644 --- a/docs/syntax/index.md +++ b/docs/syntax/index.md @@ -141,3 +141,9 @@ A list of statements between `{}` separated by `;` or `\n` associated with a co { default statements } } ``` + +#### Mutation `^` + +```test +^ mutation { statements }[args] +``` diff --git a/docs/type_system/index.md b/docs/type_system/index.md index 3b67475..430792b 100644 --- a/docs/type_system/index.md +++ b/docs/type_system/index.md @@ -1,12 +1,12 @@ -# Type System +# Templates --- -# Templates - A template is an incomplete type -## Template Fields +```text +Template[Field; ...] +``` If a field in a template is not filed, one of these are required: @@ -18,16 +18,10 @@ Denotes a field in a template that has not resolved Denotes that a field that does not resolve to anything -## Defined Templates +## Value Templates * #### [Enum](./enum.md) -# Alias - -A type based on a complete template that is interchangeable with what it is based on - -## Defined Alias - -# Unique +## Container Templates -A type based on a complete template that is not interchangeable with what it is based on +## AST Templates -- cgit v1.2.3