improve number lexing

This commit is contained in:
2026-04-20 16:14:56 +02:00
parent bf52cf70ab
commit 0e6a08d702
3 changed files with 86 additions and 17 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, b = true, false\nif a == b then elseif a or b then end";
const char* code = "local a = 0xff + 5e-2 + .1e2";
noom_uint_t pos = 0;
printf("LEX OUTPUT:\n");