- 论坛徽章:
- 44
|
本帖最后由 windoze 于 2013-01-27 23:13 编辑
回复 31# captivated
刚刚搞定一段,感觉这东西写起来其实比公司里的文档更费劲。
结构稍微调整了一下,不过意思应该差不多。
Natural languages are used by human beings for communication and expression, hundreds of natural languages exist all over the world, namingly Chinese, English, French, and Japanese; on the contrary, computers can understand machine code in 0s and 1s only, barely readable to human.
To fill the gap between precise, unambiguous machine code and expressive, vague natural languages, we need to use something as the intermediates, which are precise and unambiguous enough, but not so obscure. We call them programming languages.
Programming language must be formal, that is, programming language should have a set of accurate and unambiguous rules to define the vocabulary, and combinations of the words in the vocabulary, can be recognized and accepted. These rules are called syntax.
A very popular programming language is called C, it so popular and has its syntax standardized as an international standard by ISO. The first revision published in 1989 is called C89, C99 was published in 1999 afterward.
Computers are too dumb to understand anything beyond 0s and 1s, even programming languages are not directly usable by computers. We still need some tools to translate these intermediates into 0s and 1s. For the C programming language, there are several toolsets out there, a popular one was developed by GNU, called GCC.
|
|