From e34338219036acf103d161dfbd36fa67597d23e7 Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Mon, 19 Jan 2026 09:35:45 +0000 Subject: lexer --- include/lexer/token_type.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/lexer/token_type.h (limited to 'include/lexer/token_type.h') diff --git a/include/lexer/token_type.h b/include/lexer/token_type.h new file mode 100644 index 0000000..f83c6d6 --- /dev/null +++ b/include/lexer/token_type.h @@ -0,0 +1,25 @@ +#ifndef TOKEN_TYPE_H +#define TOKEN_TYPE_H + +enum class TokenType { + INT, + STRING, + + NUMBER, + IDENTIFIER, + + PLUS, + MINUS, + MULTIPLY, + DIVIDE, + + ASSIGN, + + SEMICOLON, + + END_OF_FILE, + INVALID + +}; + +#endif -- cgit v1.2.3