UCSD Pascal

UCSD Pascal(UCSD パスカル)は、1978年にカリフォルニア大学サンディエゴ校(UCSD)のケネス・ボウルズ(英語版)が教育用�…

UCSD Pascal

UCSD Pascal(UCSD パスカル)は、1978年にカリフォルニア大学サンディエゴ校(UCSD)のケネス・ボウルズ英語版が教育用に開発したPascal処理系である。

アーキテクチャの異なるコンピュータ上で動作するために、P-Machineと呼ばれる仮想マシンを使用する。コンパイラプログラムをそれぞれのマシン用の機械語に翻訳するのではなく、P-Machineの機械語であるP-Codeに翻訳する。そのため、P-Codeの仮想マシンを実装すればどのようなコンピュータ上でも実行可能であった。またUCSD PascalはPascalコンパイラだけでなく、スクリーンエディタデバッガ、ファイル管理を含む統合開発環境として実装され、後にp-Systemというオペレーティングシステムに発展した。これらの開発環境の殆どすべてはPascalで書かれていたので、容易に異なる環境向けに移植できた。通常、仮想マシンはインタプリタとして実装された(P-Codeインタプリタ)。また、特に処理速度が必要な場合のために、P-Codeから実際のCPUの機械語に変換するネイティブコードコンパイラが提供される場合もあった。

P-Machineは典型的なスタックマシンで、様々な処理を主にスタック上で行うアーキテクチャを持っていた。後にP-Codeをハードウエアで直接実行するPASCALマイクロエンジン(英語版)と呼ばれるCPUと、それを利用したパーソナルコンピュータが製造された。このCPUはDECLSI-11用マルチチップCPUセットを流用し、P-Codeを解釈するマイクロコードを実装したもので、今日ハードディスク製造で著名なWestern Digital社が開発した。

初期のコンピュータロールプレイングゲーム"Wizardry"はApple II上のApple Pascal(UCSD Pascal)で書かれていた。

UCSD Pascalが実装されたコンピュータの例

関連項目

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.