From c654151582a77a0b459e3f55b687e43a32d4b67d Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 26 Mar 2015 19:46:45 -0700 Subject: Add HAPAX LEGOMENA support & flatten structure The list of hapax legomena for this project is available at /hapax.html. In addition, the directory structure has been further flattened. All assets (javascript, lua, images, fonts) are in /trunk/. One other thing was to update the makefile. It compiles hapax.txt from rivers. --- lua/allwords.lua | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 lua/allwords.lua (limited to 'lua/allwords.lua') diff --git a/lua/allwords.lua b/lua/allwords.lua deleted file mode 100644 index b87f08a..0000000 --- a/lua/allwords.lua +++ /dev/null @@ -1,17 +0,0 @@ -function allwords () - local line = io.read() - local pos = 1 - return function () - while line do - local s, e = string.find(line, "%w+", pos) - if s then - pos = e + 1 - return string.sub(line, s, e) - else - line = io.read() - pos = 1 - end - end - return nil - end -end -- cgit 1.4.1-21-gabe81