From addd54dc31603dc204773d3108dba4e000cd7657 Mon Sep 17 00:00:00 2001 From: A404M Date: Tue, 8 Oct 2024 04:16:27 +0330 Subject: added fasm support added compiler options tried to compile to fasm first --- std/builtins-main.felan | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 std/builtins-main.felan (limited to 'std') diff --git a/std/builtins-main.felan b/std/builtins-main.felan new file mode 100644 index 0000000..0045b45 --- /dev/null +++ b/std/builtins-main.felan @@ -0,0 +1,23 @@ +void :: struct(0){}; + +i8 :: struct(1){}; +i16 :: struct(2){}; +i32 :: struct(4){}; +i64 :: struct(8){}; + +u8 :: struct(1){}; +u16 :: struct(2){}; +u32 :: struct(4){}; +u64 :: struct(8){}; + +f32 :: struct(4){}; +f64 :: struct(8){}; + +String :: struct(8*3){}; + +print :: (str:String)->void{ + felan asm () { + + }; +}; + -- cgit v1.2.3