proc main(): void {
name := "bee"
echo "hello, {name}!" // interpolated
echo "a literal brace: \{" // escaped
}
Raw strings
proc main(): void {
raw := `line one
line two` echo raw
}
A double-quoted string interpolates with {expression} and escapes with \n, \t, \", \\, and \{ for a literal brace. A backtick string is raw: no escapes and no interpolation at all, so it is the natural way to hold a block of text — or, as on this very page, a block of Hive source — untouched. Its indentation is stripped at compile time down to the shortest common margin.