From 02cda763c58e988301fe7819c9a12d9268e702c7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Sep 2017 04:23:18 -0700 Subject: [PATCH] Added dict example to tutorial --- examples/tutorial.nom | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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!"