upload to git

This commit is contained in:
UndeadMaelys
2022-03-22 16:03:00 +01:00
commit 8b4f32bc9f
9 changed files with 659 additions and 0 deletions

29
lexicon Executable file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env lua
if not arg[1] then print("no argument, try again") return end
require "R2H2"
require "color"
adjustTableSizes = require "output_sizes"
printOutputTable = require "output_word"
showList = require "show_list"
searchList = require "search_list"
words = dofile("words.lua")
if arg[1] == "all" then
showList()
return
end
if arg[1] == "search" then
if arg[2] then searchList(arg[2])
else print("insert query") end
return
end
if arg[1] == "transcript" then
if arg[2] then print(convertToHeonian(arg[2]))
else print("no string found") end
return
end