summaryrefslogtreecommitdiff
path: root/test/colm.d/parse1.lm
blob: bbabe9447dbfd2be9e690478eed7188b2f1f138b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
lex 
	token id / [a-z] /
	ignore / [\n\t ] /
end

def start [id*]

parse S: start[stdin]
print[ @S ]
##### IN #####
ab cd ef
##### EXP #####
ab cd ef