aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-10-08 04:16:27 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-10-08 04:17:08 +0330
commitaddd54dc31603dc204773d3108dba4e000cd7657 (patch)
tree621620c4ca5634680d7655e3474cf0b0bcec8e01 /std
parentbf84010e01bb11874689ce53ea4df853b2e41c2b (diff)
added fasm support
added compiler options tried to compile to fasm first
Diffstat (limited to 'std')
-rw-r--r--std/builtins-main.felan23
1 files changed, 23 insertions, 0 deletions
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 () {
+
+ };
+};
+