From a1b559a3a269bbee1ae9a33061b08a868ea52f5c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 25 Jan 2019 15:49:29 -0800 Subject: Added metatables for bool, number, function, coroutine. Added run-time check to make sure precompiled code used the same version of Lua. Methods can now be used in (* compiles to *), etc. --- nomsu.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 814065d..2b7f5a6 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -45,6 +45,7 @@ do List, Dict = _obj_0.List, _obj_0.Dict end local Text = require('text') +require('builtin_metatables') local sep = "\3" local parser = re.compile([[ args <- {| (flag %sep)* {:files: {| -- cgit v1.2.3