Commit Graph

29 Commits

Author SHA1 Message Date
8ea69cce67 return err in translator 2025-07-14 22:22:26 +01:00
0c8d018238 add jump for else statement 2025-07-14 19:50:44 +01:00
ef5edfa13a fix licensing 2025-07-14 05:46:54 +01:00
f1e8ad1ac2 add return 2025-07-14 05:33:57 +01:00
1bdc792705 translate and execute do wraps 2025-07-14 04:51:00 +01:00
f5103cb6a3 follow reuse spec for license 2025-07-13 18:28:05 +01:00
f7ff3393f0 add if statement and declaration 2025-07-13 03:34:31 +01:00
c0eb9e3a04 add hashmap to scope and identifier loading at runtime 2025-07-12 03:33:59 +01:00
5c0ced5e45 start supporting identifiers in bytecode 2025-07-06 03:19:30 +01:00
8b2eedf589 load cache if it exists 2025-07-05 04:38:37 +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
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
74c71c3a1b start working on oop runtime 2025-06-22 19:00:03 +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
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