Hacker News new | ask | show | jobs
by jamieomatthews 4075 days ago
Did he re-write a swift compiler?? Or is there a way in swift to compile a string?
2 comments

Looking at the screen dumps of the iOS app, I am not convinced that this app evaluates any Swift code at all.

Also, as far as I know, Swift on iOS doesn't have anything eval()-like [On the Mac, there is a REPL (https://developer.apple.com/swift/blog/?id=20)]

I would think the easiest way to evaluate Swift code 'on' a iOS device would be to send it to a Mac, but as said, I don't think this app evaluates Swift code.

No, it's more of a tutorial really, with interactive bits (as far as I've gotten). You don't get to freely-write any swift code.

(Again, at least not as far as I've gotten).