Commit Graph

199 Commits

Author SHA1 Message Date
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
795935ddfb
Added more tests 2024-07-03 11:59:36 +02:00
feebfe65bb
Refactored code structure 2024-07-03 11:39:24 +02:00
ed03f6a802
Cleaned up tokenizer 2024-07-01 21:23:36 +02:00
115f46c12d
Moved AST generation to its own package 2024-07-01 15:05:15 +02:00
f479b5a03a
Implemented an abstract syntax tree 2024-06-30 22:54:59 +02:00
27c707b6ff
Reorganized functions 2024-06-30 14:14:24 +02:00
7e5d45f17d
Implemented definitions 2024-06-30 12:28:43 +02:00
247b82b529
Implemented compilation finished events 2024-06-30 11:41:59 +02:00
3fe2cd1da2
Improved variable lifetime tracking 2024-06-30 00:17:14 +02:00
6e1af81733
Added tests for examples 2024-06-29 21:40:14 +02:00
83640ba590
Implemented return values 2024-06-29 21:06:59 +02:00