Commit Graph

210 Commits

Author SHA1 Message Date
b34470a97d
Implemented package imports 2024-07-18 18:08:30 +02:00
fa373e7dc2
Improved variable lifetime comments 2024-07-18 11:40:07 +02:00
724794b4aa
Separated compiler into its own package 2024-07-18 10:08:38 +02:00
c19ad24428
Added more tests 2024-07-18 08:47:08 +02:00
77ccb8778f
Reduced memory allocations 2024-07-17 23:04:00 +02:00
6e3cc26092
Disabled garbage collection 2024-07-17 22:28:06 +02:00
f617e115cd
Reduced memory allocations 2024-07-17 21:09:01 +02:00
68e21c96e3
Added more tests 2024-07-17 19:50:46 +02:00
8b2cdfa841
Reduced memory allocations 2024-07-17 15:23:57 +02:00
f4e4e49fce
Removed unused struct fields 2024-07-17 12:38:57 +02:00
8ec0e02dbe
Improved tokenizer test coverage 2024-07-16 23:32:39 +02:00
f9d72fe490
Fixed variable lifetime in loops 2024-07-16 20:22:28 +02:00
1825a72f8c
Removed unused variables from scopes 2024-07-16 15:39:32 +02:00
d6d018c5c5
Moved register state to scopes 2024-07-16 15:30:28 +02:00
d1ccd60139
Simplified block parsing 2024-07-16 12:01:38 +02:00
448af0707a
Reordered counters 2024-07-16 11:44:10 +02:00
24d3e8f2be
Implemented variable scopes 2024-07-15 16:51:36 +02:00
948d499231
Improved documentation 2024-07-13 14:18:55 +02:00
9df899cb52
Implemented data labels 2024-07-13 00:13:13 +02:00
7b18056006
Reorganized file structure 2024-07-11 12:04:51 +02:00
c2401bf826
Reordered jump cases 2024-07-11 11:53:49 +02:00
e24d9ebb50
Implemented 32-bit jumps 2024-07-10 15:01:46 +02:00
d3436b13a5
Reduced usage of temporary registers 2024-07-10 10:48:15 +02:00
4386392844
Improved code generation 2024-07-09 17:00:04 +02:00
1204591cdc
Improved code generation 2024-07-09 12:43:29 +02:00
8103faa8b6
Simplified tests 2024-07-09 12:13:59 +02:00
59d6653eba
Implemented a basic optimization 2024-07-09 11:43:33 +02:00
4a7bb9500a
Added more tests 2024-07-09 10:39:29 +02:00
5cbc3315a7
Added fibonacci example 2024-07-09 10:28:14 +02:00
1c019297d2
Removed unused test functions 2024-07-08 14:13:26 +02:00
03a07b6460
Simplified branch tests 2024-07-08 13:48:46 +02:00
b5bb291e47
Implemented boolean operators 2024-07-08 13:38:44 +02:00
ee16774fe7
Improved branch compilation 2024-07-07 21:55:32 +02:00
6aad74d6dd
Simplified branch jumps 2024-07-07 19:44:54 +02:00
9f341a6146
Added more tests 2024-07-07 17:13:22 +02:00
23b4e6442d
Improved branch code generation 2024-07-07 15:20:21 +02:00
403e78f655
Improved branch code generation 2024-07-07 14:07:34 +02:00
91e300e49a
Implemented if statements 2024-07-07 12:30:57 +02:00
6fc234c700
Implemented run command 2024-07-06 19:40:20 +02:00
230bb36709
Added more tests 2024-07-06 17:01:52 +02:00
a9f305dec2
Removed incorrect optimization 2024-07-06 15:20:52 +02:00
8f9481c548
Added more tests 2024-07-06 13:06:39 +02:00
cc66b02bf8
Added more tests 2024-07-05 17:11:30 +02:00
d771708693
Improved code generation 2024-07-05 16:31:33 +02:00
3e92c83c0d
Improved code generation 2024-07-05 15:51:19 +02:00
099ee729d4
Added nested calls test 2024-07-05 11:56:57 +02:00
c13a70c958
Added operator precedence test 2024-07-05 10:10:09 +02:00
62057704f3
Improved assignment error message 2024-07-05 09:50:46 +02:00
3340a5824f
Improved code generation 2024-07-04 12:32:56 +02:00
4d88260333
Improved code generation 2024-07-03 16:37:59 +02:00