From 922b6c51fbcdabd3823e311c46fe55af193196e1 Mon Sep 17 00:00:00 2001 From: A404M Date: Mon, 9 Jun 2025 15:15:28 +0330 Subject: fixing bug in anytype --- code/main.felan | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'code/main.felan') diff --git a/code/main.felan b/code/main.felan index be0bc72..b297e3f 100644 --- a/code/main.felan +++ b/code/main.felan @@ -1,8 +1,9 @@ -/* -@import("basic.felan"); -file :: @import("file.felan"); +// @import("basic.felan"); +@import("lib/vector.felan"); +// @import("lib/memory.felan"); -t :: (comptime formatter : string) macro -> string { +/* +t :: (comptime formatter : string) macro -> void { i := 0; in := 0; opening := 0; @@ -27,13 +28,8 @@ t :: (comptime formatter : string) macro -> string { }; */ -p :: () macro -> void { - @putc(a); - // print("Hello world"); -}; - main :: () -> void { - a := 'a'; - p(); + v := vector_new(u8); + delete(v); }; -- cgit v1.2.3