Are there any basic REPL apps that run on iOS?

Discussion in 'iOS Programming' started by arkmannj, Jun 19, 2016.

  1. arkmannj macrumors 65816

    arkmannj

    Joined:
    Oct 1, 2003
    Location:
    UT
    #1
    As I am learning Swift, I find it would be nice if I could practice and run through concepts when I have down time "on-the-go" without my laptop.

    I know that in Mac OS X (er... OS X....er Mac OS :p) I can use Playground, and can even use the terminal. Also, I know that Apple is developing Playground for iOS to be released later this year. But I was wondering if anyone knows of a simple REPL (more akin to the Terminal version on my Mac) just to practice and repeat basic concepts. I'm not necessarily looking for anything that has cocoa, UIKit, etc.. really just basic text style input and outputs to practice Switches, variables/constants/Paramaters, loops, Reference/value types, Clases, Functions/Methods, Structs, enumerations, protocols, etc...etc...


    I did try searching the App store an dI've tried Swifty, but that wasn't quite what I was looking for.

    Thanks!
    ~Ark
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    There are lots of basic REPL apps that run on iOS in App Store! But for other programming languages, such as Basic, Lisp or Python. Not Swift.

    Now if you install the iOS 10 beta on an iPad, it comes with Swift Playgrounds for iPad.
     
  3. arkmannj thread starter macrumors 65816

    arkmannj

    Joined:
    Oct 1, 2003
    Location:
    UT
    #3
    Thanks for the reply and info. at least I don't feel so blind for not finding a Swift REPL.

    I wish the ios playground could run on iPhone, I have a 6s and am signed up for the public beta, but for iPad we only have an iPad Mini (1st Gen) which looks like it's to old to be on the supported device list :/
    http://www.apple.com/ios/ios10-preview/ (bottom of the page if anyone is interested)
     

Share This Page