From f746ba34d799e6560df1aad1cad15a70b34914d1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 22 Jan 2019 16:15:25 -0800 Subject: Moved all the text method stuff into text.moon instead of splitting across string2/containers. Modified the type stuff to output better type names and use (a Dict) and (a List) instead of (Dict) and (List). (Text) now also has a proper constructor. (assume) now also handles a bunch of different assumptions with smart error messages. --- nomsu.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index ad5c72e..814065d 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -39,11 +39,12 @@ do local _obj_0 = require("code_obj") NomsuCode, LuaCode, Source = _obj_0.NomsuCode, _obj_0.LuaCode, _obj_0.Source end -local List, Dict, Text +local List, Dict do local _obj_0 = require('containers') - List, Dict, Text = _obj_0.List, _obj_0.Dict, _obj_0.Text + List, Dict = _obj_0.List, _obj_0.Dict end +local Text = require('text') local sep = "\3" local parser = re.compile([[ args <- {| (flag %sep)* {:files: {| -- cgit v1.2.3