What Function in swift 5 that ‏ runs/exec an external swift script?

I’m a former Python programmer, and I’m new to Swift

I want to know: is there a function that can exec/run another Swift file or external Swift script?

Just as an example. In Python I was using to exec another Python script:

exec("print('Hello world')")

and the result:

Hello world

That's it.

What Function in swift 5 that ‏ runs/exec an external swift script?
 
 
Q