diff options
Diffstat (limited to 'spec/inputs/plus.mp')
-rw-r--r-- | spec/inputs/plus.mp | 38 |
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 @@ | |||
1 | x\do "work" | ||
2 | |||
3 | func a\do!\end("OK")\if "abc",123 | ||
4 | |||
5 | res = b.function\do!\while("OK")\if "def",998 | ||
6 | |||
7 | c.repeat.if\then("xyz")\else res | ||
8 | |||
9 | print @for,@@function 123 | ||
10 | |||
11 | if fcolor = message\match "<%w*>" then message = message\gsub "<%->", fcolor | ||
12 | |||
13 | message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>" | ||
14 | |||
15 | valA = func! if func = getfunc! | ||
16 | |||
17 | valB = do | ||
18 | func = getfunc! | ||
19 | func?! | ||
20 | |||
21 | global 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 | |||
34 | start = | ||
35 | something: "cold" | ||
36 | |||
37 | local bathe = | ||
38 | on: "fire" | ||