aboutsummaryrefslogtreecommitdiff
path: root/core/io.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-11 15:50:46 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-11 15:50:46 -0800
commit4efe44ed271aeed8e25e909344788d92a0d9f82b (patch)
tree73766440b53031d4fc8210dbe3b0aece47e6b852 /core/io.nom
parentba03cb67c3c8ba53451eba25dd2186f095cd1db2 (diff)
Fully upgraded to 4.10.12.7, including deprecating the old list/dict
comprehension methods, in favor of the new native support.
Diffstat (limited to 'core/io.nom')
-rw-r--r--core/io.nom8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/io.nom b/core/io.nom
index 2df0999..d9dbdd3 100644
--- a/core/io.nom
+++ b/core/io.nom
@@ -1,7 +1,7 @@
-#!/usr/bin/env nomsu -V4.8.10
+#!/usr/bin/env nomsu -V4.10.12.7
#
This file contains basic input/output code
-
+
use "core/metaprogramming.nom"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -19,7 +19,5 @@ use "core/metaprogramming.nom"
..if \%prompt.type == "Text" then
return LuaCode("(io.write(", \(%prompt as lua expr), ") and io.read())");
else
- return LuaCode("(io.write(tostring(", \(..)
- %prompt as lua expr
- .., ")) and io.read())");
+ return LuaCode("(io.write(tostring(", \(%prompt as lua expr), ")) and io.read())");
end"