diff options
| author | Baitinq <[email protected]> | 2025-03-23 23:57:05 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-03-24 00:17:07 +0100 |
| commit | 31fa32743a5ed25724868cfa476e3af028adb118 (patch) | |
| tree | 97afd19643223af3784baef5c2b57e48467dcce9 /examples/1.src | |
| parent | Parser: Fix ambiguity with symbol declaration (diff) | |
| download | interpreter-31fa32743a5ed25724868cfa476e3af028adb118.tar.gz interpreter-31fa32743a5ed25724868cfa476e3af028adb118.tar.bz2 interpreter-31fa32743a5ed25724868cfa476e3af028adb118.zip | |
Feature: Add support for strings
Diffstat (limited to 'examples/1.src')
| -rw-r--r-- | examples/1.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/1.src b/examples/1.src index cc9cfe7..d3c8482 100644 --- a/examples/1.src +++ b/examples/1.src @@ -1,7 +1,7 @@ let main = () => i64 { - let i = 4; + let s = "hello"; - print(i); + printf("%s", s); return 0; }; |