I tried to read and understand the Chinese language programming language `` word word ''
Programming languages are mostly written in English or a series of numbers, and if you don't have knowledge, you don't know what is written. The Chinese language programming language ' Wangu ' is a slightly different programming language that allows you to write programs in the writing style used in ancient China.
wenyan-lang.lingdong.works/
An online editor is prepared for the wording, and it is possible to write and execute a simple code from the following URL.
wenyan-lang.lingdong.works/ide.html
http://wenyan-lang.lingdong.works/ide.html
Some sample code is provided in the online editor. As a test, let's check the code that outputs text such as 'Hello, World', which is often used in programming language tutorials. First select pull-down.
If you select 'helloworld' ...
A code that outputs the text 'Kantenchi Koi' instead of 'Hello, World' was displayed. Programming languages have a strong image of half-width numbers and English enumerations, so the wording with full-width kanji is not very visible in programming languages. There is no such thing as a “re-spot”, but the contents of the code are transmitted somehow from the meaning of kanji.
The wording is compiled into JavaScript code by the compiler. When the above code is converted to JavaScript, it looks like the following image.
Since the contents of the sample code can be edited, I changed it to a code that outputs 'GIGAZINE'. Click Run to run the code.
The result was output.
In addition, a little complicated sample code was prepared, such as a program example in which
It is like this when converted to JavaScript.
The output results are also sorted in ascending order.
You can check the grammar of the wording by accessing the
The following is a declaration of a variable. For example, “Yuichi Ichigo. 'Means' Declare one variable. Substitute the number 3. Make a variable named A '. Compared to the JavaScript code written on the right, it is quite long, but because it is written like a Japanese programming language ``
You can also download the wording from
Related Posts:
in Review, Software, Web Application, Posted by darkhorse_log