diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-26 15:02:09 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-26 15:02:32 -0800 |
| commit | 214b3f91866a3f7703c2def4242377c0a0cb39b7 (patch) | |
| tree | b9b4339275673114e69460277242bfebd9392e92 /lib/metaprogramming.nom | |
| parent | 53c735be55aee97716986ed704f1058e43abd7a2 (diff) | |
Removed nomsu:write() and nomsu:writeln() and replaced with just plain
ol' print()
Diffstat (limited to 'lib/metaprogramming.nom')
| -rw-r--r-- | lib/metaprogramming.nom | 8 |
1 files changed, 4 insertions, 4 deletions
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 "<unknown source code>"); + print(metadata.src or "<unknown source code>"); 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 |
