aboutsummaryrefslogtreecommitdiff
path: root/examples/sample_code.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-09-14 02:41:10 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-09-14 02:41:10 -0700
commit83463f11c530cb8be311cd418ef7b7f842b21890 (patch)
tree6464093bae5d85f0e572268ea913205bb00c19a0 /examples/sample_code.nom
parent0f228d2d25f292b7d841c84cfa8b8f02229c993a (diff)
Working string interpolation!
Diffstat (limited to 'examples/sample_code.nom')
-rw-r--r--examples/sample_code.nom11
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/sample_code.nom b/examples/sample_code.nom
index 63078d7..2917be1 100644
--- a/examples/sample_code.nom
+++ b/examples/sample_code.nom
@@ -104,12 +104,11 @@ if %x:
say "three"
-printf [..]
- ".."
- |this is a longstring
- |
- .., "with", ".."
- | multiple lines
+say ".."
+ |this is a longstring
+ |
+ | with multiple lines
+ | and an interpolated expression: \2 + 5\
rule "%n bottles":
lua block [..]