summaryrefslogtreecommitdiff
path: root/nim/hello_world.nim
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-06-04 13:48:51 -0500
committerChristian Cleberg <hello@cleberg.net>2025-06-04 13:48:51 -0500
commit30d59f06f46ed48d9de1c375cd285f59f46a4747 (patch)
treea4afc77f364e78703d4845cb3e985d25d9ee8df3 /nim/hello_world.nim
parent3fed2f0b637ca18343fb0082e44532d470c1b61f (diff)
downloadlearn-main.tar.gz
learn-main.tar.bz2
learn-main.zip
feat: add nim examplesHEADmain
Diffstat (limited to 'nim/hello_world.nim')
-rw-r--r--nim/hello_world.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/nim/hello_world.nim b/nim/hello_world.nim
new file mode 100644
index 0000000..01704ad
--- /dev/null
+++ b/nim/hello_world.nim
@@ -0,0 +1,5 @@
+# to build:
+# nim c -d:release hello_world.nim
+# ./hello_world.nim
+
+echo "Hello from Nim!"