diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-18 17:08:35 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-18 17:08:35 -0700 |
| commit | 7087dc5151fd08e8fc64ab2b6d3248ff0f13c271 (patch) | |
| tree | 0de912bbb6f8d41c0237ac37ca66c58f2b492093 /nomsu.moon | |
| parent | 440a2f0cef6b342fa430bd0ca42d1a2ec47324dc (diff) | |
Disabled serializing functions until it works.
Diffstat (limited to 'nomsu.moon')
| -rwxr-xr-x | nomsu.moon | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -155,6 +155,8 @@ class NomsuCompiler return invocations, arg_names defmacro: (spec, lua_gen_fn, src)=> + if @debug + @writeln("DEFINING MACRO: #{spec}#{src or ""}") invocations,arg_names = @get_invocations spec fn_info = {fn:lua_gen_fn, :arg_names, :invocations, :src, is_macro:true} for invocation in *invocations @@ -173,6 +175,7 @@ class NomsuCompiler serialize: (obj)=> switch type(obj) when "function" + error("Function serialization is not yet implemented.") "assert(load("..utils.repr(string.dump(obj), true).."))" when "table" if utils.is_list obj |
