Add external functions (both import and export), make includes work

still need to fix literal arrays, it has the same problem as struct
literals had with moving the literal into memory and modifying the
memory with variables
This commit is contained in:
2026-01-29 22:37:04 +02:00
parent 834b5b1213
commit 081ff9a27a
17 changed files with 220 additions and 101 deletions

View File

@@ -1,6 +1,6 @@
type str = [u8];
include "std.mcl";
struct Foo {
a: usize,