summaryrefslogtreecommitdiff
path: root/test/construct2.lm
blob: fd60e9d44b52d020fa993cd87883b3b6d520fdbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
##### LM #####

lex
	ignore /[ \t\n]+/
	token id /[a-z]+/
	literal `, `. `* `( `)
end

def lang [id*]

print( construct lang "a b c" '\n' )

##### EXP #####
a b c