aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/tutorial.nom8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/tutorial.nom b/examples/tutorial.nom
index 14a487f..84f4a21 100644
--- a/examples/tutorial.nom
+++ b/examples/tutorial.nom
@@ -13,7 +13,7 @@ run file "core.nom"
# Strings:
"asdf"
-".."|This is a multi-line string with a #.. fake comment
+".."|This is a multi-line string
|that starts with ".." and includes each indented line that starts with a "|"
|until the indentation ends
@@ -25,6 +25,12 @@ run file "core.nom"
5
6,7,8
+# Dicts:
+dict [["x", 99], ["y", 101]]
+dict [..]
+ ["z", 222]
+ [383, "howdy"]
+
# Function calls:
say "Hello world!"