Rebol 3 可以作为 iPhone 的脚本语言嵌入吗?

发布于 2024-10-14 01:50:51 字数 499 浏览 2 评论 0原文

这里说: http://fourdman.blogspot.com/2009/06/cocolua -lua-objective-c.html Lua 是一种非常轻量级(但功能强大)的语言,仅依赖于 C。您不需要拉取许多 N 兆字节的框架和库。 Lua 是作为一种嵌入式语言创建的:您将其解释器的源代码添加到您的项目中并以编程方式使用。除了许多其他事情之外,这意味着您甚至可以在 iPhone 上使用 Lua,而且没有人会注意到这一点。

据我了解,新的 Rebol 3 核心版本(不能使用 rebol 视图,但可以使用 cocoa gui 框架)将具有成为嵌入式脚本引擎的能力。这是否意味着它可以像 LUA 一样嵌入到 Corona SDK 中,作为 iPhone 或者 Android 的脚本语言?

Rebol核心比1mo Lua少得多我不知道我只是下载它。

It is said here:
http://fourdman.blogspot.com/2009/06/cocolua-lua-objective-c.html
Lua is a very lightweight (but powerful) language which depends on C only. You don't need to pull many N-megabyte frameworks and libraries. Lua was created as an embeddable language: you add its interpreter's source code to your project and use is programmatically. Apart of many other things that means that you can use Lua even on the iPhone and no one will ever notice that.

As far as I understand new Rebol 3 core version (rebol view can't be used but cocoa gui framework) will have the capability to be an embedded scripting engine. Does this mean that it could be embedded like LUA in Corona SDK as a scripting language for the iPhone or maybe also Android ?

Rebol core is much less than 1 mo Lua I don't know I'm just downloading it.

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

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

发布评论

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

评论(1

神仙妹妹 2024-10-21 01:50:51

Apple 允许在 iOS 应用程序中嵌入脚本语言(应用程序商店中甚至有 Basic 解释器),但不允许应用程序下载该脚本语言可以运行的新代码或脚本。所有脚本都必须内置到提交的应用程序中。

这是对 2010 年第三季度末开发者协议的更改。

移植脚本语言时,您还必须确保该语言的运行时不会到达 iOS 进程、文件目录和 IO 沙箱之外,而仅使用记录的 Cocoa用于 IO 和 UI 的触摸 API(例如无标准输入等)

Apple allows embedded scripting languages in iOS apps (there are even Basic interpreters in the App store), but does not allow any capability for an app to download new code or scripts which that scripting language can run. All scripts have to be built-in to the submitted app.

This was a change to their developer agreement about late-Q3 2010.

When porting a scripting language, you also have to make sure the language's run time does not reach outside the iOS process, file directory, and IO sandbox, but only uses documented Cocoa Touch APIs for IO and UI (e.g. no stdin, etc.)

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