81b0c139ef
Add initial support for structs
...
There is an issue with calling C functions sadly because LLVM seems to
prefer passing each element as its own parameter than "packing" them
into 64 bit registers.
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-26 13:32:51 +02:00
d54f9fb2f8
Add support for void function calls
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-10 02:10:02 +02:00
453689642c
Add support for function declarations
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-10 01:30:46 +02:00
e4289d577a
Make the compiler work on macOS
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-10 01:16:25 +02:00
71c337a3f4
Add support for comparison operators
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-01 15:30:25 +02:00
92c8509125
Add support for if-else
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-01 14:07:11 +02:00
5dc73ab5f2
Update gitignore, add support for arrays and pointers
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-03-01 12:21:44 +02:00
327f2bdd86
Add support for variables to LLVM emitter
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-02-29 16:20:51 +02:00
5455919d6e
LLVM my beloved
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-02-29 14:04:28 +02:00
10ae992a7b
idk what i am commiting lol
2024-02-28 17:28:33 +02:00