lexer: comments

This commit is contained in:
2026-04-21 22:57:49 +02:00
parent 6bc9249094
commit 754fd13dfd
4 changed files with 90 additions and 3 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 = 52 local b = 2";
const char* code = "--[=[i\nam\na\nlong\ncomment]]lololnotoveryet]==]nah lol]=] --local a = 2\nlocal b = 3";
noom_uint_t pos = 0;
printf("LEX OUTPUT:\n");