In REPL-mode you can evaluate individual expression with ⌘ + Enter. The result will appear below. To evaluate the whole program at once, use Alt + Enter;
Compiled code: