From 0ba3ed51e0df84c875d0d405953e992a0281962d Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 30 Jan 2024 14:31:22 -0500 Subject: [PATCH] Clean up examples --- examples/for_loop.ds | 6 ------ examples/list.ds | 9 --------- examples/map.ds | 11 ----------- 3 files changed, 26 deletions(-) delete mode 100644 examples/for_loop.ds delete mode 100644 examples/list.ds delete mode 100644 examples/map.ds diff --git a/examples/for_loop.ds b/examples/for_loop.ds deleted file mode 100644 index d2cb936..0000000 --- a/examples/for_loop.ds +++ /dev/null @@ -1,6 +0,0 @@ -list = [1 2 3] - -for i in list { - i += 1 - output(i) -} diff --git a/examples/list.ds b/examples/list.ds deleted file mode 100644 index 69ed50b..0000000 --- a/examples/list.ds +++ /dev/null @@ -1,9 +0,0 @@ -numbers = [1, 2, 3] - -x = numbers:0 -y = numbers:1 -z = numbers:2 - -assert_equal(x + y, z) - -numbers diff --git a/examples/map.ds b/examples/map.ds deleted file mode 100644 index 568d413..0000000 --- a/examples/map.ds +++ /dev/null @@ -1,11 +0,0 @@ -dictionary = { - dust = "awesome" - answer = 42 -} - -output( - 'Dust is ' - + dictionary:dust - + '! The answer is ' - + dictionary:answer -)