diff options
Diffstat (limited to 'decimal.lua')
-rwxr-xr-x | decimal.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/decimal.lua b/decimal.lua new file mode 100755 index 0000000..6f32e5d --- /dev/null +++ b/decimal.lua @@ -0,0 +1,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 |