parser: expressions with indexing, fields and basic calls

This commit is contained in:
2026-04-26 19:35:45 +02:00
parent 7a3cdff2d4
commit bab92a73ff
3 changed files with 122 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ void print_node(noomP_Node* node, noom_uint_t depth) {
int main(int argc, char** argv) {
// uhh uhhh uhhhhh
const char* code = "local a = [=[Hello, world!]]lol]==]]]=]";
const char* code = "local a = a.b[\"hi\"](5, 2)";
noom_uint_t pos = 0;
printf("LEX OUTPUT:\n");