diff options
-rwxr-xr-x | conglossor.cgi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/conglossor.cgi b/conglossor.cgi index bf3ff8c..7983c53 100755 --- a/conglossor.cgi +++ b/conglossor.cgi @@ -71,7 +71,7 @@ function glossors.sanila(text) local items = {} -- sanila morphology is easy enough for word in text:gmatch("%S+") do - local stripped = word:match("^(.-)[.,]*$") + local stripped = word:match("^(.-)[.,]*$"):lower() local entry = words[stripped] table.insert(items, format_def(word, entry)) end @@ -92,7 +92,7 @@ glossors["vötgil"] = function(text) local i = 1 local out = "" - while i < #text do + while i <= #text do local item, ni = lpeg.match(word, text, i) if item then out = out .. item @@ -131,6 +131,12 @@ local function enform() <br><button>perform <i>conglossatio</i></button> </form> </section> +<footer> +<a href=//g.gh0.pw/conglossor/>source code</a> +<p>langues incorporated:<ul> +<li><a href=//viba.neocities.org/sanila/>sanila</a> (by <a href=//viba.neocities.org>viba</a>)</li> +<li><a href=//www.ostracodfiles.com/votgil/main.html>vötgil</a> (by <a href=//ostracodfiles.com>jack eisenmann</a>)</li> +</ul></p></footer> ]], { options=table.concat(options, "\n"), |