mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-14 23:58:03 +01:00
This allows "%(...)" inside a string literal to interpolate the stringified result of an expression. It doesn't support custom interpolators or format strings, but we can consider extending that later.
6 lines
101 B
Plaintext
6 lines
101 B
Plaintext
// nontest
|
|
System.print("b")
|
|
import "shared" for Shared
|
|
var B = "b %(Shared)"
|
|
System.print("b done")
|