From 395e6c8e5ba5d8f19f7c8abd81b22cb34629f13d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Sep 2017 21:53:45 -0700 Subject: Cleaned out some dead code. --- nomic.moon | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'nomic.moon') diff --git a/nomic.moon b/nomic.moon index 3a72664..812574c 100755 --- a/nomic.moon +++ b/nomic.moon @@ -148,19 +148,11 @@ class Compiler run: (text)=> if @debug print "RUNNING TEXT:\n#{text}" + -- This will execute each chunk as it goes along code = @compile(text) if @debug print "\nGENERATED LUA CODE:\n#{code}" - [==[ - lua_thunk, err = loadstring(code) - if not lua_thunk - error("Failed to compile generated code:\n#{code}\n\n#{err}") - action = lua_thunk! - if @debug - print("Running...") - return action(self, {}) - ]==] - code + return code parse: (str)=> if @debug -- cgit v1.2.3