big refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-22 08:00:33 +02:00
parent 853ab22e15
commit 71adb9c916
34 changed files with 83 additions and 81 deletions
+13 -1
View File
@@ -1,4 +1,4 @@
aux.module 'persistence'
module 'persistence'
_g.aux_datasets = {}
@@ -19,6 +19,18 @@ function public.load_dataset()
return _g.aux_datasets[dataset_key]
end
--do TODO syntactic sugar
-- local mt = {
-- __unm = function(self, separator)
-- self.separator = separator
-- end,
-- __call = function(self, field) end
-- }
-- function public.getter.record()
--
-- end
--end
function public.read(schema, str)
if schema == 'string' then
return str