summaryrefslogtreecommitdiff
path: root/decimal.lua
blob: 6f32e5d9600c294e8e5ef860dc4cf01b42176736 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env lua
local eyes = require "eyes"
local reading = require "reading"
for _, message in ipairs(eyes) do
	local start, value = reading.next_value(message)
	io.write(value)
	for _, value in reading.values(message, start) do
		io.write(",", value)
	end
	print()
end