您对艾奥克有何看法?

发布于 2024-07-11 21:29:09 字数 658 浏览 5 评论 0 原文

Ola Bini,JRuby 背后的大人物之一,正在开发一种新的编程语言,称为:Ioke。 它受 IoLispSmalltalkRuby。 分享您对这种新的动态编程语言

NB 的看法。 schildmeijer 提出的问题

Ola Bini, one of the big guys behind JRuby, is developing a new programming language called: Ioke. It's influenced by Io, Lisp, Smalltalk and Ruby. Share your thoughts about this new dynamic programming language

NB. Question asked by schildmeijer

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

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

发布评论

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

评论(4

千纸鹤 2024-07-18 21:29:09

看起来很有趣,但目前只是概念证明。

如果您现在需要类似的东西,只需查看 IO 语言

Seems interesting, but is currently just a proof of concept.

If you need something similar now, just take a look at IO language

方觉久 2024-07-18 21:29:09

Ioke 是一种非常有趣的语言,可以用来创建 DSL。 我发现可以扩展的简单语法(一切,甚至控制流,都是消息)很有趣。 Ioke 中的宏支持非常好(在评估[或“激活”]之前检索部分消息)。

Ioke 显然仍然是一个非常年轻的项目,但非常有前途。

进一步考虑一下,我对简单化的语法有点矛盾,因为我仍然希望有更多的语法糖——例如,对于使用特殊语法时更具表现力的控制块,恕我直言——而不是纯粹的消息必须使用与任何其他消息相同的括号语法来实现。

我想这是一个品味问题——你是保持语言定义简单和“纯粹”,还是用更多语法“污染”它并使其更具表现力?

Ioke is quite an interesting language to play with to create DSLs. I find the simplistic syntax (everything, even control flow, is a message) that can be expanded interesting. Macro support in Ioke is great (retrieve parts of message before they are evaluated [or 'activated']).

Ioke is obviously still a very young project, but very promising.

Thinking about it further, I am a bit conflicted regarding the simplistic syntax as I'm still hoping for a tad more syntactic sugar -- for example for control blocks which are more expressive IMHO when using special syntax -- rather than being pure messages that must be implemented with the same bracketed syntax as any other message.

I guess this is a matter of taste -- do you keep the language definition simple and 'pure' or do you 'taint' it with more syntax and make it a bit more expressive?

暖风昔人 2024-07-18 21:29:09

AFAIK 这只是一场独角戏。 一个人似乎极不可能承担使一种编程语言流行所需的所有工作,例如编写工具、库等。

因此,除非他能得到一家大公司的支持并使用他的语言或建立一个社区对于 IOKE 开发人员来说,我认为他的语言注定会失败,无论它有多高性能/优雅。

从更表面的角度来看,我不喜欢 IOKE 这个名字,主要是因为它应该如何发音并不明显。

AFAIK this is just a one-man-show. It seems extremely unlikely that one person will be able to undertake all the work necessary to make a programming language popular, e.g. writing tools, libraries, etc.

So unless he can get a big company to back him and use his language or establish a community of IOKE developers, I would suggest his languages is doomed to failure, ho matter how performant/elegant it is.

On a more superficial level, I dislike the name IOKE, mostly because it's not at all obvious how it should be pronounced.

森末i 2024-07-18 21:29:09

Ioke 给了我很大的启发。 Ioke ebnf 语法有十几行。 但它可以给我所有我喜欢的 Forth、C++ 和 JS。 Ioke 还勇敢地使用 ascii-127 以外的字符作为运算符。

人的思维只能处理非常简单的事物,但可以很容易地将它们抽象成高阶结构,然后像处理新的简单事物一样处理抽象的事物。 然后将一些抽象放在一起,并一次又一次地对它们进行抽象。 每次都用一些不同的方式将简单的事情概括为非常简单的事情。

Ioke 允许您创建新的方式来在每个不同的抽象级别上表达您的想法。 您需要新的语法或新的方式来表达每个级别。 你需要一个工具来创建工具。 你不想迷失在抽象或细节中。

Ioke作者比其他语言的作者更好地看到了人类心灵的属性,他们没有足够的勇气看到监视器后面和前面都有一个东西,那就是一个人。 但他们不应该受到责备,因为语言的使用者也对他们自己的思维机制视而不见。 因此,Ioke 确实是对其他语言的扁平化进行攻击的勇敢尝试,因此也是对我们习得的思维方式的扁平化的攻击。

I was very inspired by Ioke. Ioke ebnf syntax is a dozen of lines. But it can give me all I liked in Forth, C++ and JS. Also Ioke is brave to use characters beyond ascii-127 for operators.

Human mind can only deal with very simple things, but can abstract them into high order structures easily, and then deal with the abstraction as with the new simple thing. And then take few abstractions together and abstract on them again and again. Each time using some different ways to generalize simple things into a very simple thing.

Ioke allows you to create new ways to express your ideas on each different level of abstraction. You need a new syntax or new way to express on each level. You need a tool to create tools. And you do not want to get lost in nor abstration nor detail.

Ioke author sees properties of human mind, better than authors of other languages who are not brave enough to see that something is not only behind the monitor but also in front of it, which is a human being. But they are not to blame, because users of languages are blind to their own mind machinery as well. So Ioke is really a brave attempt to attack on flatness of other languages, and, therefore, an attack on flatness of the way we are learned to think.

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