aboutsummaryrefslogtreecommitdiff
path: root/examples/system.sloth
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 18:46:36 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 18:46:36 -0500
commit8262abdea18cdb873b2012411bfebe131fb37d52 (patch)
tree920903ef91ffe2d4b7dd24b0d34a616d424c3732 /examples/system.sloth
parent73843fa284968b4efb0ae51858cb37d0189c4b83 (diff)
downloadsloth-8262abdea18cdb873b2012411bfebe131fb37d52.tar.gz
std
Diffstat (limited to 'examples/system.sloth')
-rw-r--r--examples/system.sloth5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/system.sloth b/examples/system.sloth
new file mode 100644
index 0000000..affe588
--- /dev/null
+++ b/examples/system.sloth
@@ -0,0 +1,5 @@
+fn main() Int {
+ system("neofetch");
+ println(istr(12));
+ return 0;
+}