Playground
Compiler idle123456789
// Edit me. The compiler checks your code as you type.
string[] crew = ["Ada", "Grace", "Linus"]
for i, name in crew (
log `${i}. Hello, ${name}!`
)
def shout(string text) string -> text.toUpper() ++ "!"
log shout("one binary, no runtime")
// Edit me. The compiler checks your code as you type.
string[] crew = ["Ada", "Grace", "Linus"]
for i, name in crew (
log `${i}. Hello, ${name}!`
)
def shout(string text) string -> text.toUpper() ++ "!"
log shout("one binary, no runtime")
Press Check, or Ctrl+Enter in the editor.