diff options
| author | Baitinq <[email protected]> | 2025-05-10 19:57:09 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-05-10 19:57:09 +0200 |
| commit | e8e0bcdab4b154d064b79fa654f8c826d431db4e (patch) | |
| tree | c3dd03103f25474fc6dad1412ce111da77c1ab27 /std | |
| parent | Codegen: Add varags hack for use in params (diff) | |
| download | interpreter-e8e0bcdab4b154d064b79fa654f8c826d431db4e.tar.gz interpreter-e8e0bcdab4b154d064b79fa654f8c826d431db4e.tar.bz2 interpreter-e8e0bcdab4b154d064b79fa654f8c826d431db4e.zip | |
Feature: Add initial stdlib
Diffstat (limited to 'std')
| -rw-r--r-- | std/stdlib.src | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/std/stdlib.src b/std/stdlib.src new file mode 100644 index 0000000..5c09a55 --- /dev/null +++ b/std/stdlib.src @@ -0,0 +1,7 @@ +extern printf = (*i8, varargs) => void; + +let println = (str: *i8, args: varargs) => void { + printf(str, args); + printf("\n"); + return; +}; |