aboutsummaryrefslogtreecommitdiff
path: root/example.tsl
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-26 11:56:53 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-26 11:56:53 +0100
commitfa1f9af151526a6679d605c8af91d502cef90b75 (patch)
treeb600601afa01fa8cc672c364381603c35eb61df1 /example.tsl
parent699482118d0fa92ffc0a4a185bc35c6398f5f4fe (diff)
Implement the basis of a function call
Diffstat (limited to 'example.tsl')
-rwxr-xr-x[-rw-r--r--]example.tsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/example.tsl b/example.tsl
index 5146713..092e7e5 100644..100755
--- a/example.tsl
+++ b/example.tsl
@@ -1,3 +1,5 @@
+#!/usr/bin/env tsl
+
# loadn 1
# setv "value1"
value1 = 1
@@ -80,7 +82,7 @@ value8 = fn (value) {}
value9 = {
"hello": "world",
"sayHello": fn() {
-
+ result = $(echo hello)
}
}