Commit Graph

64 Commits

Author SHA1 Message Date
886599c9c5 change to use cwalk for paths 2025-07-05 23:56:54 +01:00
8b2eedf589 load cache if it exists 2025-07-05 04:38:37 +01:00
48647f3734 load cache if it exists 2025-07-05 04:38:28 +01:00
246e20014f add file hashing for cache validation and provide the license to the cc0 files in the project 2025-07-01 04:28:32 +01:00
c31f16d68d add file hashing for cache validation 2025-07-01 04:28:03 +01:00
3adecb4eba use hashmap in constants buffer to speed up translation time with large files 2025-06-30 17:56:32 +01:00
31f38d8ba4 fix translation taking a while if constants buffer is big 2025-06-28 16:17:46 +01:00
aa65393e2c change to uint8_t for bytecode to reduce wasted bytes 2025-06-27 06:07:57 +01:00
358127a145 fix memory leak in operations 2025-06-26 18:08:17 +01:00
6828cc5f1a fix memory leak in declaration and function 2025-06-26 16:56:17 +01:00
a9d0ba0318 add function object 2025-06-26 05:11:34 +01:00
a275a0a0ad add functions to bytecode and continuing working on runtime objects 2025-06-25 04:59:09 +01:00
4f757cd9b8 print with embeded nulls 2025-06-24 03:57:38 +01:00
908d627962 add null object and add load const 2025-06-24 03:49:05 +01:00
498cd39c04 start creating base objects for runtime 2025-06-24 01:55:01 +01:00
74c71c3a1b start working on oop runtime 2025-06-22 19:00:03 +01:00
d1f9b8a334 work on hashmap 2025-06-20 03:00:56 +01:00
bddfb59886 start working on runtime 2025-06-20 02:50:05 +01:00
e5e4f22481 write bytecode debugging script and start working on functions 2025-06-15 05:05:33 +01:00
dd1ba0c0a6 add constant buffer compression 2025-06-14 20:49:10 +01:00
5bd43d2f12 fix gmp including x86_64 instead of just gmp.h 2025-06-14 19:47:06 +01:00
3a1fc91352 fix some double free, memory leaks, and seg faults 2025-06-14 19:41:31 +01:00
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
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
406c57c296 remove debug print 2025-06-11 02:12:52 +01:00
a47df1ddb0 add list support to parser 2025-06-11 02:08:17 +01:00
55c1500453 start trying to fix memory leaks 2025-06-10 05:19:37 +01:00
86c0eabfde add operations 2025-06-10 04:41:06 +01:00
1b90438bb9 remove indents from dowrap if they are 0 width 2025-06-05 23:39:49 +01:00
4c2c5a4f79 ignore indentation on empty lines 2025-06-05 23:31:18 +01:00
5e1cf0c8b1 fix syntax error on single new line after if statement 2025-06-05 23:26:49 +01:00
d941b88b70 fix bug causing parser to miss new lines after let. 2025-06-05 23:18:25 +01:00
000845ab25 add do wraps 2025-06-05 23:08:10 +01:00
c0ee99fd54 add multi line support for more stuff 2025-06-05 15:13:57 +01:00
acc432ed79 add access 2025-06-05 04:09:31 +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
ef61c391a1 add numbers to parser 2025-06-03 02:52:15 +01:00
e4c2af3cc7 fix invalid syntax not being called on an invalid assignment 2025-06-02 00:13:24 +01:00
d2518afb8e add identifier to parser 2025-06-01 02:28:27 +01:00
b7e9493171 change to syntax error 2025-05-31 21:45:11 +01:00