lib/lasp.rb in lasp-0.3.2 vs lib/lasp.rb in lasp-0.4.0

- old
+ new

@@ -5,10 +5,10 @@ STDLIB_PATH = File.expand_path("../lasp/stdlib.lasp", __FILE__) module_function def execute_file(path) - execute(File.read(path)) + execute("(do #{File.read(path)})") end def execute(program, env = global_env) Lasp::eval(Lasp::parse(program), env) end