有没有一种从右到左阅读的编程语言? [英] Is there a programming language that reads right to left?
问题描述
我很确定现代工业强度的编程语言,都从左到右
I'm quite sure that modern industrial strength programming languages, all read left to right
但是在编程语言的整个生态系统中,有一些权利的例子左阅读语言?
But out of the whole ecosystem of programming languages are there examples of right to left read languages ?
除了更好地与以这种方式编写的人类语言保持一致之外,这种语言还有什么优势吗?
Apart from better alignment with human languages that written this way, would there be any advantage in such a language?
示例:
int a = 5; // read left to right
tfel ot thgir daer // ;5 = a tni
推荐答案
有一种儿童语言叫做 logowriter,后来被翻译成希伯来语为 תמלילוגו,因为希伯来语是 RTL,所以翻译的语言也是.
There was a language for children called logowriter which later got translated into hebrew as תמלילוגו, since hebrew is RTL, so was the translated language.
תמלילוגו 语言于 2008 年在以色列高中作为 CS 教学大纲的一部分进行教授,http://www.csit.org.il/TSTBAG/2008/899122.pdf
The תמלילוגו language was taught as part of the CS sylabus in Israeli highschools on 2008, http://www.csit.org.il/TSTBAG/2008/899122.pdf
这篇关于有没有一种从右到左阅读的编程语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!