[HN Gopher] Wenyan-lang: Classical Chinese Programming Language ___________________________________________________________________ Wenyan-lang: Classical Chinese Programming Language Author : yread Score : 42 points Date : 2020-02-01 21:34 UTC (1 hours ago) (HTM) web link (spectrum.ieee.org) (TXT) w3m dump (spectrum.ieee.org) | 5- wrote: | See also: Perl in Classical Chinese in Perl: | https://metacpan.org/pod/Lingua::Sinica::PerlYuYan | yorwba wrote: | The syntax is slightly cumbersome. For example, the function | header of the mandelbrot snippet at https://wenyan- | snippets.netlify.com/ reads: | | Wu You Yi Shu . Ming Zhi Yue [Man De Bo ] . Yu Xing Shi Shu . Bi | Xian De Er Shu . Yue [Kuan ] . Yue [Gao ] . Nai Xing Shi Shu Yue | . | | Decomposed: | | Wu You Yi Shu . I have a function. | | Ming Zhi Yue [Man De Bo ] . Named "mandelbrot". | | Yu Xing Shi Shu . Bi Xian De Who wants to run this function, | must first get | | Er Shu . two numbers. | | Yue [Kuan ] . Called "width". | | Yue [Gao ] . Called "height" | | Nai Xing Shi Shu Yue . Then run this function as follows: | | Essentially, what gets expressed using punctuation in mainstream | programming languages is instead described by a short sentence. | This would be terribly verbose in English, but it's kind of | bearable in Classical Chinese, because each word is only a single | character. | Guthur wrote: | Your description reminds me of Cobol. | umvi wrote: | I'm super glad programming languages were invented in a country | with an alphabet. | | Imagine if the computing revolution were in China instead of | USA... we might all be coding using Chinese characters instead | of Latin characters right now. | [deleted] | dang wrote: | Two recent related threads: | | https://news.ycombinator.com/item?id=21840924 | | https://news.ycombinator.com/item?id=21840101 | | Also https://medium.com/syncedreview/cmu-senior-develops- | worlds-f... via https://news.ycombinator.com/item?id=21864706 | (but no comments there). ___________________________________________________________________ (page generated 2020-02-01 23:00 UTC)