Commit graph

256 commits

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