From 55ba3fe23c082417136ced69ab59bd0a10d212aa Mon Sep 17 00:00:00 2001 From: momoyon Date: Sat, 17 May 2025 12:21:37 +0500 Subject: [PATCH] [main.c] Add TODO. --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index 084b755..ae50bde 100644 --- a/main.c +++ b/main.c @@ -36,6 +36,8 @@ static bool DEBUG_PRINT = false; // unary_term -> ( "-" | "+" ) ( unary | primary ) ; // prefix -> ( "++" | "--" ) IDENT ; // comp.lit -> Skipped... +// // TODO: These all IDENT need to be ast, but if i do that, how can i parse them? +// I will need to call parse() the first thing and check the next token... Which i cant really do right now that easily // access -> IDENT "." ( access | IDENT ) ; // subscript -> IDENT "[" ast "]" ; // funcalls -> IDENT "(" ( ast "," )* ")" | IDENT "(" ast ")" ; -- 2.39.5