about summary refs log tree commit diff stats
path: root/port.lua
blob: c5763dfac773ab757f198523c483e2bf8e2f9c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- lam.port

local port = {}
table.unpack = table.unpack or unpack

function port.Input (file)
	return {
		file = file,
		line = "",
	}
end

port.tokenizer = "%s*(,@|[('`,)]|)"

function port.Input:tokens () -- iterator

end

---
return port