aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/plus.mp
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/plus.mp')
-rw-r--r--spec/inputs/plus.mp38
1 files changed, 38 insertions, 0 deletions
diff --git a/spec/inputs/plus.mp b/spec/inputs/plus.mp
new file mode 100644
index 0000000..ca03499
--- /dev/null
+++ b/spec/inputs/plus.mp
@@ -0,0 +1,38 @@
1x\do "work"
2
3func a\do!\end("OK")\if "abc",123
4
5res = b.function\do!\while("OK")\if "def",998
6
7c.repeat.if\then("xyz")\else res
8
9print @for,@@function 123
10
11if fcolor = message\match "<%w*>" then message = message\gsub "<%->", fcolor
12
13message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>"
14
15valA = func! if func = getfunc!
16
17valB = do
18 func = getfunc!
19 func?!
20
21global backpack =
22 something:
23 yeah: 200
24 they: ->
25 print "hello"
26 yor_feet"small"
27 pretty: hair
28 gold: hmm
29 yow: 1000
30
31 eat: goo
32 yeah: dudd
33
34start =
35 something: "cold"
36
37local bathe =
38 on: "fire"