aboutsummaryrefslogtreecommitdiff
path: root/example/test.py
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-04-20 14:47:58 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-04-20 14:47:58 +0200
commit96e11c169cde65194c1136e6b40c1bbea35c813a (patch)
tree29abfee5f3e8f37a53ae4f674b926f497827d963 /example/test.py
parent0686b40f979f4607b3fd8cca21c463e98f617666 (diff)
create cli
Diffstat (limited to 'example/test.py')
-rw-r--r--example/test.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/example/test.py b/example/test.py
deleted file mode 100644
index 20c1c7e..0000000
--- a/example/test.py
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env python3
-
-# This module is called @{name()}
-
-import @{module}
-
-print("@{function()
- return "Hello World"
-end}")
-
-print("@{function()
- local a = { "asdf", "1234" }
- return a[1]
-end}")
-
-print(@{function()
- local a = { "asdf", "1234" } -- {
- return a[2]
-end})
-
-print("@{function()
- local a = "asdf{asdf"
- return a:sub(1)
-end}")
-
-print("@{function()
- local a = "asdf"
- --[[
- some comment }
- --]]
- return a
-end}")
-
-print("@{function()
- local a = [[
- some comment }
- ]]
- return a:sub(2, 8)
-end}")