Implement external functions

This commit is contained in:
2025-01-16 15:09:58 +01:00
parent 1e45d66359
commit ef667e3ace
7 changed files with 98 additions and 73 deletions

View File

@@ -119,6 +119,8 @@ begin
writei(x)
end;
proc exit(code: Int); extern;
begin
test_primitive();
test_string();
@@ -129,5 +131,7 @@ begin
test_if();
test_not();
test_param(8, 7);
test_const_char()
test_const_char();
exit(0)
end.