Playground

A real Swift interpreter running in this tab. Write a program and print to the console, or define a View and see it render. Nothing leaves your device.

The runtime covers the language the curriculum teaches — types, protocols, generics, error handling, and structured concurrency — but it is an interpreter, not a compiler. Type errors surface when the line runs rather than before. See what it can and cannot do.