微信公众号 
图码生活

每天发布有五花八门的文章,各种有趣的知识等,期待您的订阅与参与
电脑报 1992-2001 十年文章全集
电脑报 1992-2001 十年文章全集
包含从 1992 年 - 2001 年间,两万余篇期刊文章,查询最少输入两个字符
随便看看
读取中
读取中
标题编译程序——COMPILER
栏目其它
作者张志刚
发布1997-01-01
  Compiler is a program that translates a high-level programming language such as C or PASCAL into a machine language program.A compiler translates the entire program into machine language at the same time,checking syntax, and posting error messages or warnings as appropriate.Only when this process is complete can the program execute.This is in contrast to an interpreter,which translates and then executes one line at a time.Compilers are language-specific;they can only compile the source code from one specific programming language into machine language.
  编译程序是把高级编程语言如C或PASCAL语言翻译成机器语言的程序。编译程序在把整个程序翻译成机器语言的同时,校验语法并且适时给出错误信息及警告。只有在这一过程完成后被编译的程序才能执行。这与解释程序不同,解释程序每次对程序是逐条翻译并执行的。编译程序是针对特定语言的;它们只能将一特定编程语言编写的源代码编译成机器语言。