The Spawn Programming Language
A general-purpose programming language emphasizing practicality, safety, and seamless zero-cost C interoperability.Try Spawn online
module main
fn main() {
// In Spawn you can define array of string with the following syntax:
users := ['John', 'Ania', 'Patrik', 'Jannie']
// Spawn uses the ${} notation to interpolate a variable
// or expression right on the string.
// Learn more about string interpolation in the documentation:
// https://docs.spawnlang.dev/concepts/types/strings.html#string-interpolation
for user in users {
println('Hello, ${user}!')
}
}Have a question? Write to us!