diff options
| author | Baitinq <[email protected]> | 2025-06-28 00:17:18 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-06-28 00:17:18 +0200 |
| commit | af150fb67db0d694b9d9bfd1e1796f0e671441b8 (patch) | |
| tree | b30db72360c24cc86189ab5788411a271de7b10f /examples | |
| parent | Bootstrap: Parser: Parse function calls (diff) | |
| download | pry-lang-af150fb67db0d694b9d9bfd1e1796f0e671441b8.tar.gz pry-lang-af150fb67db0d694b9d9bfd1e1796f0e671441b8.tar.bz2 pry-lang-af150fb67db0d694b9d9bfd1e1796f0e671441b8.zip | |
Bootstrap: Codegen: start working on function calls
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/-1.pry | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/-1.pry b/examples/-1.pry index 5093a7e..03bac03 100644 --- a/examples/-1.pry +++ b/examples/-1.pry @@ -1,8 +1,11 @@ /* HELLO! Welcome to the unnamed language */ -extern printf = (*i8, varargs) => void; +let putchar = () => i64 { + return 0; +}; let main = () => i64 { + putchar(); return 7; }; |