向所有人提问 [英] question to all

查看:103
本文介绍了向所有人提问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,


给那些阅读我的编译器文章系列和最后一篇脚本文章的人:

是你对一个相当不错的小项目感兴趣?我在''编译器'系列中提出了一些小语言我在b / b
中提供了很多东西,当我在它时,我添加了由Sun提出的

接口(我在脚本文章中对其进行了简要解释。


语言现在名为''rpl'',代表''反向波兰语Lisp'。它支持

中缀和后缀表达式,各种数字,字符串,列表,向量,
矩阵,lambda绑定(匿名函数),currying等等。


它还包含符号代数处理的基本知识;这是一个例子:

Greetings,

for the folks who read my ''compilers'' article series and the last ''scripting'' article:
are you interested in quite a nice little project? I pooped up the little language I
presented in the ''compilers'' series quite a bit and while I was at it I added the
interface proposed by Sun (I briefly explained it in the ''scripting'' article).

The language is named ''rpl'' now, which stands for ''Reverse Polish Lisp". It supports
both infix and postfix expressions, all sorts of numbers, strings, lists, vectors,
matrixes, lambda binding (anonymous functions), currying and a lot more.

It also contains the rudiments of symbolic algebra processing; here''s an example:

展开 | 选择 | Wrap | 行号

推荐答案

订阅。


Haven还没有通过编译器系列,但听起来不错!


问候,

Nepomuk
Haven''t gone through the compiler series yet, but that sounds great!

Greetings,
Nepomuk


我不想把它变成''编译器系列II''这类文章。无论如何,得到的

语言都非常简单,即根本没有语法,因此没有解析器的b / b
。这应该是关于评估方案的一系列(命令式对比

功能等),但我不知道是否有足够的兴趣(有趣)

东西。没关系,因为我可以在其他地方发布这些东西

,同时用这种小语言有很多乐趣;-)


它甚至支持(笨拙)闭合;我刚刚完成(基于字符)IO,所以我可以保存并加载正在运行的解释器的整个图像。我希望至少有一个bb''实质性'的人在这里感兴趣。


这里是一个功能组合示例:

Hi, I don''t want to make it a ''compiler series II'' type of article. The resulting
language is extremely simple anyway, i.e. there is no syntax at all so there''s
no parser. It''s supposed to be a series on evaluation schemes (imperative vs.
functional etc.) but I don''t know if there''s enough interest in those (interesting)
things. It doesn''t matter much because I can publish the stuff somewhere else
and in the mean time have lots of fun with this little language ;-)

It even supports (clumsy) closures; I just finished (character based) IO so I can
save and load entire images of a running interpreter. I do hope that at least a
''substantial'' amount of folks are interested here.

Here''s a function composition example:

展开 | 选择 | Wrap | 行号


这篇关于向所有人提问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆