Implemented runes

This commit is contained in:
2024-07-22 15:32:16 +02:00
parent e91e894046
commit 21017e6378
11 changed files with 88 additions and 27 deletions

View File

@ -89,7 +89,7 @@ func Parse(tokens []token.Token) *Expression {
continue
}
if t.Kind == token.Identifier || t.Kind == token.Number || t.Kind == token.String {
if t.Kind == token.Identifier || t.Kind == token.Number || t.Kind == token.String || t.Kind == token.Rune {
if cursor != nil {
node := NewLeaf(t)
cursor.AddChild(node)