summaryrefslogtreecommitdiff
path: root/spec/inputs/plus.yue
blob: e3870908c53a4474d1be1a1ac972649e5ec80ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
x\do "work"

func a\do!\end("OK")\if "abc",123

res = b.function\do!\while("OK")\if "def",998

c.repeat.if\then("xyz")\else res

print @for,@@function 123

if fcolor = message\match "<%w*>" then message = message\gsub "<%->", fcolor

message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>"

valA = func! if func = getfunc!

local valA = func! if func = getfunc!

valB = do
	func = getfunc!
	func?!

global backpack =
	something:
		yeah: 200
		they: ->
			print "hello"
			yor_feet"small"
		pretty: hair
		gold: hmm
	yow: 1000

	eat: goo
	yeah: dudd

start =
	something: "cold"

local bathe =
	on: "fire"