Embedding REPL in an application?

Say I wanted to embed the REPL into a swift application to allow the
user to add interpreted extensions written in swift to the app. Would
this be feasible?

···

--
Perry E. Metzger perry@piermont.com