From 214b3f91866a3f7703c2def4242377c0a0cb39b7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 26 Jan 2018 15:02:09 -0800 Subject: Removed nomsu:write() and nomsu:writeln() and replaced with just plain ol' print() --- lib/metaprogramming.nom | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/metaprogramming.nom') diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index 49e20ee..f80c144 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -149,9 +149,9 @@ action [help %action] lua> ".." local metadata = \(action %action metadata); if not metadata then - nomsu:writeln("Action not found: "..repr(\%action)); + print("Action not found: "..repr(\%action)); else - nomsu:writeln(metadata.src or ""); + print(metadata.src or ""); end # Compiler tools @@ -163,9 +163,9 @@ immediately compile [say %message] to lua> ".." if \%message.type == "Text" then - return {statements="nomsu:writeln("..\(%message as lua expr)..");"}; + return {statements="print("..\(%message as lua expr)..");"}; else - return {statements="nomsu:writeln(stringify("..\(%message as lua expr).."));"}; + return {statements="print(stringify("..\(%message as lua expr).."));"}; end # Return -- cgit v1.2.3