From: momoyon Date: Sat, 17 May 2025 07:21:37 +0000 (+0500) Subject: [main.c] Add TODO. X-Git-Url: https://www.git.momoyon.org/?a=commitdiff_plain;h=55ba3fe23c082417136ced69ab59bd0a10d212aa;p=lang.git [main.c] Add TODO. --- 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 ")" ;