064d762

Faddle · faddle.git · Tickets

Branches > main > 064d762 > files

Remove logging from evaluator

Grahp, 2026-07-17

Commit: 064d762909bf796f1cec4b504f979bb39b7790c4
Parent: 302c951

1 changed file:

org/faddle/lang/eval.lua modified (view file)

@@ -30,9 +30,6 @@   -- Doesn't add to the return table right now   -- Probably want to munge names so they're easier to use from Lua.   -- I'm not sure whether like 'foo?' and 'is_foo' should be the same symbol or just munged to produce the same thing.-  print(env.current_module)-  print(var_name)-  print(env.user)   modules[env.current_module][var_name] = val   return var_name end@@ -62,7 +59,7 @@ local FN = intern("fn")  -- Should eventually be in core/boot ofc they're just here now so I can test functions before figuring out modules-local temp_functions =+local temp_vars = {   [intern("list")] = LIST.list,   [intern("plus")] = function(...)@@ -79,7 +76,7 @@ -- Perhaps special forms should be looked up like anything else, and be shadowable? -- If you lookup say 'def', it returns nil which is strange local function lookup(sym, env)-  return temp_functions[sym] or modules[env.current_module][sym]+  return temp_vars[sym] or modules[env.current_module][sym] end  -- Not quite sure how to do this...