summaryrefslogtreecommitdiff
path: root/test/parse1.lm
blob: f8ecab8edc377305139c8e08bdea290964feb987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
##### LM #####
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