diff options
author | Aki <please@ignore.pl> | 2024-11-02 13:41:36 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-11-02 13:41:36 +0100 |
commit | 0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac (patch) | |
tree | e42c905d5d1ddde4c1bb1cf58fbf7d697c17616e /decimal.lua | |
parent | 1a2c8b663ed89b4d4a75463e28260a7c4955ecb1 (diff) | |
download | noita-eyes-0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac.zip noita-eyes-0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac.tar.gz noita-eyes-0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac.tar.bz2 |
Naive approach to disk-based masking directly on the trigrams
Diffstat (limited to 'decimal.lua')
-rwxr-xr-x | decimal.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/decimal.lua b/decimal.lua index 6f32e5d..df6975e 100755 --- a/decimal.lua +++ b/decimal.lua @@ -1,11 +1,7 @@ #!/usr/bin/env lua local eyes = require "eyes" +local format = require "format" 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() + print(format.csv(reading.tvalues(message))) end |