summaryrefslogtreecommitdiff
path: root/lang/token.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-04-23 14:36:57 +0200
committerGitHub <noreply@github.com>2024-04-23 14:36:57 +0200
commit0063922f5c8a07b78603b2da7f6a3c2094711c3d (patch)
tree613cd8f53e86f33678a2f96fa0e776edfa555101 /lang/token.go
parent1bff92c52b27b9a516599e172fe9852c3d99be38 (diff)
feat: initial and partial support of composite expressions (#9)
A new `Composite` token is created. Literal composite expressions are recognized and partially handled by the parser but not yet by the code generator. Other cosmetic changes are present.
Diffstat (limited to 'lang/token.go')
-rw-r--r--lang/token.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/token.go b/lang/token.go
index 7ad7bf1..41c8439 100644
--- a/lang/token.go
+++ b/lang/token.go
@@ -111,6 +111,7 @@ const (
// Internal virtual machine tokens (no corresponding keyword).
Call
CallX
+ Composite
EqualSet
Grow
Index