about summary refs log tree commit diff
path: root/dump.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'dump.fnl')
-rw-r--r--dump.fnl6
1 files changed, 6 insertions, 0 deletions
diff --git a/dump.fnl b/dump.fnl
new file mode 100644
index 0000000..4024247
--- /dev/null
+++ b/dump.fnl
@@ -0,0 +1,6 @@
+;; dumps standard input as list of codepoints
+
+(local x (io.read))
+
+(each [_ v (utf8.codes x)]
+  (print (string.format "%08x" v)))