iPhone 中的 Fortran 编辑器

发布于 2024-12-26 01:34:57 字数 1437 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

撩动你心 2025-01-02 01:34:57

Apple 不允许在 iPhone 上使用编译器或解释器,但从技术上讲,您没有任何理由不能设置基于服务器的编译器,该编译器也允许用户运行其编译的应用程序。事实上,有多个网站已经做到了这一点,但编写一个指向其网站或使用其服务的应用程序并不是一个好主意;您需要设置自己的服务。

并非不可克服,但我会转向其他应用程序想法。

Apple doesn't allow for compilers or interpreters on the iPhone, but there technically isn't any reason you can't setup a server based compiler, that also allows users to run their compiled apps. In fact, there are multiple sites that already do just this, but it wouldnt be a good idea to write an app that points to their site or uses their services; you would need to setup your own service.

Not insurmountable, but I would move onto other app ideas.

新雨望断虹 2025-01-02 01:34:57

鉴于苹果公司对在 iOS 下运行的语言解释器持严厉态度,您最好将其编码为在远程服务器上运行的服务,也许可以在手机或平板电脑上进行编辑部分。

Given Apple's snarly attitude about language interpreters running under iOS you're better off coding this as service that runs on a remote server, maybe with the editing part on the phone or tablet.

随遇而安 2025-01-02 01:34:57

为了当前和未来的搜索,更新这个旧线程:

苹果在过去一年左右的时间里改变了他们的态度。目前有许多适用于 iOS 的解释器,包括 Lua 的解释器 (https:// itunes.apple.com/us/app/iluabox/id398073834?mt=8)和几个Python(https://itunes.apple.com/us/app /python-2.7-for-ios/id485729872?mt=8, http://itunes.com/apps/pythonmath)。

剩下的一项重要限制是这些应用程序可能无法从应用程序外部加载脚本,例如从 Dropbox 或 iTunes 文件共享加载脚本。 (这是 Apple 努力的一部分,以及代码签名和 100% 应用程序审查,以最大限度地减少恶意软件。)此类应用程序可以拥有一个编辑器,允许用户从应用程序外部将代码复制并粘贴到编辑器中。

据我所知,目前还没有任何针对 FORTRAN 等编译语言的应用程序。

同时,FORTRAN 编译器仅作为越狱应用程序适用于 iOS。

[免责声明:我是《Python Math》的作者。 Apple 将其从商店中删除了很短一段时间,直到我删除了 iTunes 文件共享和“打开方式...”功能。然后我添加了一个脚本编辑器。]

Updating this old thread for the sake of current and future searches:

Apple has changed their attitude over the past year or so. There are currently many interpreters available for iOS, including for Lua (https://itunes.apple.com/us/app/iluabox/id398073834?mt=8) and several for Python (https://itunes.apple.com/us/app/python-2.7-for-ios/id485729872?mt=8, http://itunes.com/apps/pythonmath).

One significant remaining restriction is that these apps may not load scripts from outside the app, for example, from Dropbox or iTunes file sharing. (This is part of Apple's efforts -- along with code signing and 100% app review -- to minimize malware.) Such apps are allowed to have an editor that allows the user to copy and paste code into the editor from outside the app.

As far as I know, there aren't any apps for compiled languages such as FORTRAN.

Meanwhile, FORTRAN compiler is available for iOS only as a jailbroken application.

[Disclaimer: I am the author of Python Math. Apple removed it from the store for a short time until I removed iTunes file sharing and "Open In..." capability. I then added a script editor.]

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文