The localization of the intimate number programming language

Source: Internet
Author: User

The intimate number programming language is a purely Chinese-based computer programming language that is experimental in nature. I'm just using her for a while. Explore Chinese programming, learn about the relevant knowledge, consolidate personal skills, and do not want to use it to do serious things. I don't think I should do serious things in Chinese programming language, and those serious things should be left to the mature language of industry. I can't design a perfectly perfect programming language such as Ruby, Python, Go, C, Rust, Julia, Kotlin, Haskell, Clojure, elixir, etc. because of the limitations of my abilities. I can only reduce it as much as possible. The result of simplification is that the intimacy Number programming language is similar to the Forth language and is a stack-based programming language. Most of the statement operations revolve around the stack, and most of the expressions use an easy-to-use stack to implement the inverse Polish expression. And she can only explain execution, not compile. Another simplification is that the variables and keywords of an intimate number programming language can contain only one word. I hope she will finally be able to do what the logo language can achieve.

I have heard of the Chinese language programming languages are easy language, language, c positive, in the rash and so on. In addition to programming in Chinese, easy language seems to be compared with VB, Xi language is corresponding to the C language, and C is corresponding to C + +, in the case of Python. Honestly, I haven't used any of these languages. Because real programmers want to program in a professional, common language, just as people like to use computers rather than set-top boxes to surf the web. I think that people who know 50 words have the highest level of junior high school to learn English programming language.

For Chinese programming You must not do is to set the slogan "Chinese language of their own programming." In the field of technology and engineering, the adoption of the world standard is better, easy to communicate, rather than create barriers, denying oneself in the world. In the field of technology and engineering or less to play national pride, such as emotional cards, practical work better. The ruby language of the Japanese pine line is also not hiragana katakana, and Ericsson designed Erlang is not in Swedish, they all use English.

So what do I do with an intimate number programming language? In addition to satisfying myself, I think the goal is to make children or big friends more than a few toys more feasible, this is my intimate number programming language positioning.

What interesting things can you do with this toy? You can use her as a calculator, subtraction she will. You can easily put "go to your" or "I Love You" on the screen 1000 times. You can create a better-looking picture with a list of seemingly chaotic, meaningless characters. How to play with your imagination.

Most of the Chinese programming languages I have seen are the Chinese language of English programming languages, there is a if we have a if we have a parenthesis we also have a parenthesis. This is feasible, but not acclimatized. After all, English is one-dimensional letter language, Chinese is a two-dimensional letter language. (The radicals are treated as letters.) This is the view of Dr. Wu in the beauty of mathematics. Chinese and English are different, Chinese programming should be somewhat different from English programming.

English sentence words are separated by a space, the English symbol is very rich, parentheses, square brackets, curly braces and so on, so the English programming language with spaces to separate the keywords and use these symbols is natural. Chinese people are not used to separating words with blanks. Chinese punctuation is added later, in ancient prose even the sentence is not funny. So I think the natural Chinese programming language should also preferably not use blank participle, and the less the use of punctuation the better. This certainly brings a lot of difficulty to lexical analysis and grammar analysis, so I have to simplify, choose the intimacy Number programming language keywords and operations are word.

Even if the Chinese programming language is to use symbols, you know that many of the symbols in Chinese are full-width and half-width. Most people are less likely to quickly identify the difference between full-width and half-width symbols, such as ";" and ";", ":" and ":". Even if it can be identified, it is annoying to constantly switch the full-width half-width state in programming. Therefore, I think Chinese programming is best not to confuse users with full-width half-width symbols. In the intimate number programming language, I chose to relax the restrictions on the program. such as the full-width of the number 0123456789, half-width of the number 0123456789, or even the Chinese number 0 123456789 and the Chinese capital number 0 One and three Woolu Qi Ba nine she can identify.

Sum up. The intimacy number programming language is just an exploration of Chinese programming, not suitable for serious things. The data structure and syntax she supports are simple and not suitable for complex tasks. She is more suitable for children or big friends of toys.

The localization of the intimate number programming language

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.