Commit Graph

23 Commits

Author SHA1 Message Date
20621944e6 change string literals to be length terminated instead of null terminated, so null characters can be embeded 2025-06-14 01:16:28 +01:00
b05408ebec add dictionaries and add accessing with a value 2025-06-12 04:37:07 +01:00
f8207702e1 add in as an operator 2025-06-11 02:29:14 +01:00
86c0eabfde add operations 2025-06-10 04:41:06 +01:00
000845ab25 add do wraps 2025-06-05 23:08:10 +01:00
61d8bc61c3 add mulitple variable declaration, with null default. add call 2025-06-05 04:04:41 +01:00
7b76b0d888 add declaration with function support 2025-06-04 23:12:03 +01:00
2bd0384060 add declaring and assignment with parser LHS support 2025-06-04 21:20:44 +01:00
c23f9c22e1 make it obvious in lexer to ignore comments 2025-06-03 13:59:04 +01:00
604839d324 add else if, else, and comments 2025-06-03 13:57:49 +01:00
18993a5d7e add if statements 2025-06-03 13:24:12 +01:00
d2518afb8e add identifier to parser 2025-06-01 02:28:27 +01:00
a614eab8fc add more parses and fix minor memory leak 2025-05-31 20:03:06 +01:00
d18ff96f8f start working on parser 2025-05-30 22:23:46 +01:00
ec894d4357 change to dynamic array for lexer and parser to speed up lexical analysis 2025-05-30 16:46:27 +01:00
ddf18ceb2c pass file into flex instead of content buffer 2025-05-30 12:56:25 +01:00
68341db0b0 update lexer to just return the number and then do the other logic somewhere else 2025-05-30 02:12:51 +01:00
626445a906 add copying token value and add Boehm GC ready for runtime implimentation 2025-05-29 00:40:11 +01:00
b82e351daf change over to a linked list system and start trying to fix bug which causes the parser to not output anything meaningful due to memory deallocation 2025-05-28 22:51:27 +01:00
43bc7663fc start implimenting a parser 2025-05-27 17:19:09 +01:00
3dedd7f348 add tokens to state struct 2025-05-27 13:24:56 +01:00
296600ee11 add state to lexer for parrellel support 2025-05-27 04:07:53 +01:00
1540645759 add flex lexer 2025-05-27 03:08:49 +01:00