Redesigned everithing so that everything is cleaner and not making everything all messy to fix later, still, ther may be redesigns and shit but should be fine

This commit is contained in:
2026-03-04 18:54:46 -06:00
parent 317e9f3b6b
commit adaf5c012f
2 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#include "lexer.h"
// Helps state machine for the lexer :)
typedef enum {
WAIT_FOR_NUMBER,
WAIT_FOR_OPERATOR,
} LexerState;