Commit Graph

22 Commits

Author SHA1 Message Date
3a19b1519f add declarations to translator 2025-06-14 04:13:14 +01:00
be33dbe89f improve cross plateform binary portability 2025-06-14 01:56:12 +01:00
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
937a6598fa add instructions for loading string const to register 2025-06-13 15:42:48 +01:00
27a777ad86 start writing translator 2025-06-13 02:46:42 +01:00
55c1500453 start trying to fix memory leaks 2025-06-10 05:19:37 +01:00
61d8bc61c3 add mulitple variable declaration, with null default. add call 2025-06-05 04:04:41 +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
a71071d858 start converting numbers to rational numbers 2024-05-08 00:38:02 +01:00
6173c18be6 start adding low level functionality to help with future development 2024-05-07 16:33:30 +01:00
635aa98a1a init 2024-05-05 00:42:55 +01:00