Commit graph

7 commits

Author SHA1 Message Date
Jakub Doka 2c53f9ece9
making the generic function names distinct
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2025-01-01 19:09:31 +01:00
Jakub Doka 786e3e6bfd
forgot about pointers
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-30 14:57:03 +01:00
Jakub Doka 95e1e8bcab
fixing missing features in the cranelift backend
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-30 14:46:59 +01:00
Jakub Doka 58479deca1
polishing the compiler cli (cheating with clap)
also adding the raylib example

Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-30 13:26:38 +01:00
Jakub Doka d25540dd52
handled all the abi passing, now just test it
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-29 17:37:38 +01:00
Jakub Doka 68186ec0ce
supporting translation of all nodes
TODO: handle ABI argument passing

Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-29 16:37:24 +01:00
Jakub Doka ee67ebb017
adding cranelift backend
also splitting hbc binary into a separate crate to avoid dependency
cycle, the backand is thus far capable of compiling the simplest program
that returns an custom status code

Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-29 13:30:29 +01:00