0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

言語プロセッサ

Posted at

image.png
1:言語プロセッサ
 言語プロセッサには、アセンブラ、コンパイラ、インタプリタがあります。
 アセンブラは、ニモニック表記の機械語プログラムをバイナリコードの機械語プログラム変換するプログラムです。
 コンパイラは、C,Javaといった高級言語のプログラムを、機械語プログラムに変換するプログラムです。コンパイラは、プログラム全体をまとめて機械語に変換してから実行します。

 一方で、インタプリタは、プログラムを1行ずつ解釈しなら実行します。1行解釈しては実行するという流れになりますから、プログラムの実行速度は遅くなりがちです。しかし、プログラムが途中までしか出来上がっていなくても、出来上がっているところまでは実行できるという点や、プログラムを途中で止めて、変数の内容をチェックしたり、プログラムを変更したのちに、続きをそのまま実行できる点などがコンパイラ方式葉理も優れています。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?