Skip to content

Instantly share code, notes, and snippets.

@huhuang03
Created December 4, 2017 06:23
Show Gist options
  • Select an option

  • Save huhuang03/e00909ccacbd499d1ac835b35d7d5770 to your computer and use it in GitHub Desktop.

Select an option

Save huhuang03/e00909ccacbd499d1ac835b35d7d5770 to your computer and use it in GitHub Desktop.
编译器和解释器的区别
刚开始都是相同的,都是将源输入分析成一个语法树。
但是之后,编译器会将语法树转换成其他语言。
而解释器一边分析语法树一边执行。
@huhuang03

Copy link
Copy Markdown
Author

虚拟机是解释中间代码的解释器。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment