ソースプログラム
「ソースプログラム」の英語
「ソースプログラム」は英語で source code と言うのが一般的です。source program も技術用語として使われますが、特定のプログラムの原文を指す場合などに使われます。source code は、開発者が書いた処理前のプログラム全般を指します。
「ソースプログラム」の英語の使い分け
コンパイラやインタプリタで処理する前の、特定のプログラムの原文を指す専門用語です。
The source program contains the instructions for the computer.
プログラムの原文全般を指し、技術文書や会話で幅広く使われる一般的な表現です。
Please review the source code before submitting the project.
「ソースプログラム」の例文
The source program failed to compile because of a syntax error.
そのソースプログラムは構文エラーのためコンパイルに失敗した。
コアイメージ
開発者が書いた可読なプログラムの原文で、コンパイラやインタプリタで処理される実体を指すソースプログラム
英英
A human-readable program in source form that serves as the input to a compiler or interpreter for translation into machine-executable form.
語源
source programは、'source'(出所・原)と'program'の合成語として使われ、翻訳前の原型としてのプログラムを表す用語として計算機分野で用いられるようになった。
コラム
- コンパイラやインタプリタのエラーメッセージは通常ソースプログラムの位置を示すため、エラー箇所の特定はソースプログラムの理解に依存する。
「ソースプログラム」のレベル別の例文
- 中学
I wrote a small source program in my computer class.
- 高校・英検2級
- TOEIC・ビジネス
Please include the source code with your technical report.
- 日常会話
Can you share the source code with me?
「ソースプログラム」を英語にするときのよくある間違い
× program source
「ソースプログラム」は英語では source program と言い、program source とは通常言いません。
× I did a source program.
○ I wrote a source program.
プログラムを作成する場合は do ではなく write を使うのが自然です。