Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
iPad Text Editor with Python Embedded for Automation (editorial-app.com)
58 points by cylo on Aug 15, 2013 | hide | past | favorite | 17 comments



Isn't arbitrary code execution forbidden on the app store?


Interpreters are allowed, native code execution (including JIT) is not.

Additionally, if you submit an application with an interpreter to the App Store, you will get declined if you make it easy for your users to download arbitrary scripts / code and execute it in your interpreter.

http://developer.apple.com/appstore/guidelines.html

"3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple’s built-in WebKit framework."

Exporting, however is ok.

Additionally, it's not expressed explicitly but user-created scripts are also allowed.


You can execute anything the user types in. You just can't download code to run, unless you run it through WebKit.


Could you lazyweb me in the direction of the "unless you run it through WebKit" clause?


The point is that you can load a webpage in an embedded webkit view, which constitutes running arbitrary downloaded code.


The idea is that you can't implement your own store (free or paid) but you can load webpages.


Arbitrary downloaded code.


I wonder if the feature to install workflows from pages like this would run afoul of the terms:

http://editorial-app.appspot.com/workflow/6231550869897216/6...

I seem to remember Codea having some sort of sharing feature (via email?) that they had to remove for that reason.

That's kind of a drag, but this looks like a cool app even without 1-click install of workflows.


We were forced to remove email sharing of projects in Codea in 2011.

It seems like more and more apps are being allowed to include downloadable scripts. I wonder if there is some unwritten change of policy for coding apps. Interesting to see that Editorial includes this (and it looks like an amazing app).


Ok, thanks!


Another scriptable text editor that's on iOS: Vim! [1] Although is quite impossible to use without a keyboard. Still, it's there!

[1] https://itunes.apple.com/us/app/vim/id492668168?mt=8


I've been using vim on iOS through Prompt[1] for a while and it's been perfectly usable without an external keyboard (I'm using an iPhone anyway). If your device is jailbroken you can use SSH to localhost and hack away. Note: I have not yet tried tmux over Prompt so I can't say whether it's a good idea or not. Nor have I tried emacs.

[1] https://itunes.apple.com/us/app/prompt/id421507115?mt=8


Is it possible to detect when a bluetooth keyboard is not attached? Seems like it would make sense to do so and provide an onscreen panel with :, ESC, and maybe some user-settable keys.


i have a text editor with embedded lisp for automation


Off topic, but the website looks really nice. I love the design.


Finally a Dropbox text editor that is somewhat different from the others? Would love something like this on Android (it probably exists already).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: