aboutsummaryrefslogtreecommitdiff
path: root/code/main.felan
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-09 12:10:55 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-09 12:10:55 +0330
commite711e6e55e9c83563db9bb04af7516632f27b91d (patch)
tree9ca3022438edab3540b2d5bffacf59558f48db3e /code/main.felan
parent24eb811a33a54714a193c775569b668eef78a6d8 (diff)
add macro
update README.md
Diffstat (limited to 'code/main.felan')
-rw-r--r--code/main.felan12
1 files changed, 9 insertions, 3 deletions
diff --git a/code/main.felan b/code/main.felan
index e80b7fc..be0bc72 100644
--- a/code/main.felan
+++ b/code/main.felan
@@ -1,3 +1,4 @@
+/*
@import("basic.felan");
file :: @import("file.felan");
@@ -24,10 +25,15 @@ t :: (comptime formatter : string) macro -> string {
}
return "";
};
+*/
+
+p :: () macro -> void {
+ @putc(a);
+ // print("Hello world");
+};
main :: () -> void {
- arr :[10][]u8 = undefined;
- arr[0] = "Hello";
- print(arr[0]);
+ a := 'a';
+ p();
};