]> www.git.momoyon.org Git - lang.git/commitdiff
[main.c] Add TODO.
authormomoyon <momoyon@momoyon.org>
Sat, 17 May 2025 07:21:37 +0000 (12:21 +0500)
committermomoyon <momoyon@momoyon.org>
Sat, 17 May 2025 07:21:37 +0000 (12:21 +0500)
main.c

diff --git a/main.c b/main.c
index 084b755b225e2c395a3665f96ad1642d2b48d12e..ae50bde4dff53d4c12194f5d3b0f1da473362d14 100644 (file)
--- 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 ")" ;