diff options
| author | Baitinq <[email protected]> | 2025-07-05 23:23:03 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-07-05 23:23:03 +0200 |
| commit | d3ea9c73e5cc9070abbf66bf8834228c1e77d57a (patch) | |
| tree | 8e8b06d5dd85a1ddeb60def21737951dd3a11622 /examples | |
| parent | Boostrap: Codegen for strings (diff) | |
| download | pry-lang-d3ea9c73e5cc9070abbf66bf8834228c1e77d57a.tar.gz pry-lang-d3ea9c73e5cc9070abbf66bf8834228c1e77d57a.tar.bz2 pry-lang-d3ea9c73e5cc9070abbf66bf8834228c1e77d57a.zip | |
Boostrap: Get printf working
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/-1.pry | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/-1.pry b/examples/-1.pry index 03bac03..0f33c37 100644 --- a/examples/-1.pry +++ b/examples/-1.pry @@ -1,11 +1,9 @@ /* HELLO! Welcome to the unnamed language */ -let putchar = () => i64 { - return 0; -}; +extern printf = (*i8, varargs) => void; let main = () => i64 { - putchar(); + printf("HELLO WORLD!\n"); return 7; }; |