diff --git a/notes b/notes index da0da80..ed642ce 100644 --- a/notes +++ b/notes @@ -24,6 +24,18 @@ TOKENS Key strings only +Implement stack data structure for pushing and pulling states when necessary + LEXER STATES START ERROR + END + VALUE + OBJECT_KEY + --------- + OBJECT | + ARRAY | + PRIMITIVES |------> Can be values + STRING--------|------> Only one that can be an object key + NUMBER | + ---------