From 83463f11c530cb8be311cd418ef7b7f842b21890 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Sep 2017 02:41:10 -0700 Subject: Working string interpolation! --- examples/sample_code.nom | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'examples/sample_code.nom') 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 [..] -- cgit v1.2.3