aboutsummaryrefslogtreecommitdiff
path: root/lib/utils2.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:09:26 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-11 01:09:26 -0800
commit6f4b67632a544780438110bb11e5122448e24881 (patch)
tree3549eb211df19ff6870d5cf63ad1c25d1880040b /lib/utils2.nom
parentc0333ca31532f14ec8ebd841a5f68b2f35e9cc80 (diff)
Renamed String -> Text
Diffstat (limited to 'lib/utils2.nom')
-rw-r--r--lib/utils2.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils2.nom b/lib/utils2.nom
index 8077203..b0b9dd9 100644
--- a/lib/utils2.nom
+++ b/lib/utils2.nom
@@ -6,11 +6,11 @@ require "lib/collections.nom"
compile [say %str] to:
- "nomsu:writeln(\(%str as lua))" if ((%str's "type") == "String")
+ "nomsu:writeln(\(%str as lua))" if ((%str's "type") == "Text")
..else "nomsu:writeln(nomsu:stringify(\(%str as lua)))"
compile [do %action] to code:
- (%action as lua statements) if ((%action's "type") == "Thunk")
+ (%action as lua statements) if ((%action's "type") == "Block")
..else "(\(%action as lua))(nomsu);"
# With statement