4 ms·
I would love to also run the interpreter inside iOS to learn Haskell from a tablet. I will support a crowdfunding campaign.
by wslh 13y ago
I would love to also run the interpreter inside iOS to learn Haskell from a tablet.
I will support a crowdfunding campaign.
- martin_ 13y agoApple wouldn't permit this in the AppStore
- ska 13y agoI don't think that's quite right, if I understand correctly you could have the interpreter so long as there was no download and run of external code. I'm sure I've seen a Lua environment like this.
- ciferkey 13y agoCorrect. Both python and lisp (Lisping) already have interpreters available as well.
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- dljsjr 13y agoSure they would. http://omz-software.com/pythonista/ http://omz-software.com/pythonista/ http://omz-software.com/editorial/ http://omz-software.com/editorial/ http://twolivesleft.com/Codea/ http://twolivesleft.com/Codea/ You just can't have an app that downloads external code and then runs it; if all of the code that gets run is prepackaged in the app bundle or user-generated then it's absolutely fine.
- shurcooL 13y agoAre browsers exempt? Because there are a few of them there, and they download and execute external JavaScript.
- croddin 13y agoI believe all browsers in the app store that run js use Apple's UIWebView and don't run the js themselves.
- kemiller 13y agoThey have to use Apple's JS engine.
- dcohenp 13y ago> they download and execute external JavaScript Yes, but they may do so only by embedding Apple's own sandboxed WebKit component. So the downloading, execution, and results are tightly controlled.
- krichman 13y agoI thought those were running interpreters via javascript. User-generated code is really okay?
- pohl 13y agoI installed this from the App Store two days ago on John Carmack's recommendation: http://slidetocode.com http://slidetocode.com
- dllthomas 13y agoShouldn't be too hard, if it really supports all of GHC...
- carterschonwald 13y agothe reason that won't happen is simple: GHCI works by doing dynamic linking. The iOS security model does not allow dynamic linking. (There may be some clever way to modify how GHCI works to change that, but offhand, its not obvious to me what that would be)
- dmead 13y agohaskell has plenty of interpreters
- carterschonwald 13y agoTrue! But I like to use lots of the type extensions that ghc has! :-)
- jejones3141 13y agoThat would be nice... and remember, Carmack mentioned that he felt guilty about not doing "real work" when he was doing Haskell, but because there was Lisp on his iWhatever, he could play with Lisp when he couldn't get to his main computer to do "real work", so spent more time on Lisp.