0de27e01fd
i am so fucking stupid, how tf did i manage to mess this up
...
I used the rsp register instead of the rbp register for accessing the
stack variables, rsp is the wrong base and changes constantly
fuck
2025-03-14 16:40:53 +01:00
13da26acdb
added more comments
2025-03-14 06:27:09 +01:00
e5f576251a
amd64: add comments, still broken btw
2025-03-13 16:45:13 +01:00
403f02a140
fixed tests
2025-03-13 10:55:54 +01:00
fa9777c2a8
there has never been a stupider person then me
...
we use 64 bit integers, but only reserve 4 bytes for them, well, that is
in fact not enough. They were overwriting each other, which caused some
problems ;-)
2025-03-13 10:52:34 +01:00
8137b45788
amd64: function call support WIP broken
2025-03-12 22:28:59 +01:00
9cfb80e790
ttir and qbe: added function calls
2025-03-12 21:31:14 +01:00
290d05da88
finished functions by fixing arguments
2025-03-08 23:22:58 +01:00
508b3fdc7a
added functions till typechecker WIP
2025-02-27 11:15:17 +01:00
b0b7ede252
fixed if expressions
2025-02-26 15:18:56 +01:00
d1c1d8a287
flakes and fixed some tests
2025-02-13 11:12:36 +01:00
9e6e3bd1e4
if expressions
2025-02-02 14:15:16 +01:00
f98d0b8d18
fix some qbe stuff
2025-01-31 22:09:55 +01:00
5905a198b3
full qbe support i belive
2025-01-31 21:22:57 +01:00
f1ff94c357
wip qbe support
2025-01-31 21:04:09 +01:00
b53d40d101
begin qbe support and custom build system
2025-01-27 18:38:07 +01:00
bc554cdedf
added new equality operators
2025-01-27 10:08:23 +01:00
5b46794539
added block and no return value generation
2025-01-26 21:05:28 +01:00
1dae344e09
added some tests
2025-01-25 22:02:02 +01:00
9fe5f322a1
fixed equal and not equal
2025-01-23 22:24:00 +01:00
8e684b800c
added equal and not equal, tests are needed for those
2025-01-23 14:46:42 +01:00
8bb0bb9a4e
finished binary expression
2025-01-22 21:16:14 +01:00
1e68083aad
begin binary expressions
2025-01-22 18:21:30 +01:00
6513c45936
compiler compile
2025-01-22 09:00:49 +01:00
28d464f318
continue cmd
2025-01-21 20:57:51 +01:00
c33321c259
begin cmd
2025-01-21 14:24:32 +01:00