summaryrefslogtreecommitdiff
path: root/token/token.go
diff options
context:
space:
mode:
authorMichael Tews <git@tews.dev>2024-06-19 06:07:54 +0200
committerMichael Tews <michael@tews.dev>2026-04-12 11:11:02 +0200
commit734e8e7a7159dd933c12e97b53984d6686c7cb22 (patch)
treef12e28749ddba9516fd4f4edf3a042500e1dedbc /token/token.go
parent0e3db367f467a2fd9b1ce0266699cce31c3c60eb (diff)
feat(lexer): added new tokens
added == and !=
Diffstat (limited to 'token/token.go')
-rw-r--r--token/token.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/token/token.go b/token/token.go
index a168b8f..63d5f41 100644
--- a/token/token.go
+++ b/token/token.go
@@ -19,6 +19,9 @@ const (
LT = "<"
GT = ">"
+ EQ = "=="
+ NOT_EQ = "!="
+
// Delimiters
COMMA = ","
SEMICOLON = ";"