From ce4a44cb13e55dd9e232cfd6f167aa7c47eb47ee Mon Sep 17 00:00:00 2001 From: Reuh Date: Wed, 16 Aug 2017 22:38:20 +0200 Subject: [PATCH] Fixed leaving debug code And oh, I forgot in the last commit: I added a rockspec, which hopefully works. Soon in LuaRocks repos near you. --- bin/can | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/can b/bin/can index c0db232..507ec8b 100644 --- a/bin/can +++ b/bin/can @@ -22,12 +22,6 @@ else -- REPL line = line:gsub("^=", "return tostring(") .. ")" end - local p = dofile("lib/lua-parser/parser.lua") - local d = dofile("lib/lua-parser/pp.lua") - print(p.parse(line)) - print(d.dump(p.parse(line))) - print(require"compiler.lua53"(p.parse(line))) - local t = { pcall(candran.load, line, "stdin") } if t[1] == false then print(t[2])