Script

A script to run with run(_:with:enableBreakpoints:).

Declaration

enum Script

Cases

Plain code (creates a temporary file).

An executable from a file URL, to be run from a shell.

A script from a file URL.

A REPL, optionally executing a script in its namespace first.

The shell. You can pass a command as arguments.