3 ms·Swift has a REPL. On an OS X command line, simply type 'swift'.by magicbuzz 11y agoSwift has a REPL. On an OS X command line, simply type 'swift'.