えいたんごクイズ
syntaxの覚え方イラスト

syntax

/ˈsɪntæks/
暗記モードで復習 →

syntax は英検1級・TOEFL 100・IELTS 7.5レベルの英単語で、「構文、プログラミング言語の文法」という意味があります。発音記号は /ˈsɪntæks/ です。

意味一覧 (2件)

noun

構文こうぶん

解説 Definition

「構文」とは、言語やプログラミング言語における文や命令の正しい組み立て方・規則のことです。構文を間違えると、文が伝わらなかったり、プログラムが動かなかったりします。

Syntax is the set of rules for putting words or symbols together in the correct order. It is used when talking about grammar in language and structure in computer code. If the syntax is wrong, the sentence or code may not work properly.

覚え方のコツ Memory Tip

syntax はまずプログラミングの syntax error で覚えると定着しやすい語です。単語の意味そのものより、「並べ方や書き方のルールが崩れるとエラーになる」という場面と結びつけるのがコツ。grammar が言語の文法全体を広く指すのに対し、syntax は文・コードの組み立て方に焦点がある語。syntactic という形容詞にもつながるので、語形のまとまりで覚えると忘れにくいです。

Many learners remember this word from "syntax error" in programming. That is a strong clue: "syntax" is about the rules for how words or code are arranged. Keep it near "grammar," but remember that "syntax" focuses more on structure and order.

例文

The program crashed because of a syntax error in the code.

コードの構文エラーが原因でプログラムがクラッシュしました。

Learning the syntax of a new programming language takes time.

新しいプログラミング言語の構文を覚えるには時間がかかります。

She carefully checked the syntax of each sentence before submitting her essay.

彼女はエッセイを提出する前に、一文一文の構文を注意深く確認しました。

noun

プログラミング言語げんご文法ぶんぽう

(意味 2)

解説 Definition

プログラミング言語のコードが従うべき文法規則と構造の集合です。構文が正しくないとプログラムは実行できず、エラーが発生します。

例文

The programmer had to learn Python syntax to write code correctly.

プログラマーは正しくコードを書くためにPythonプログラミング言語の文法を学ぶ必要がありました。

Understanding correct syntax is essential for programming.

正しいプログラミング言語の文法を理解することはプログラミングに不可欠です。

A syntax error in the code prevented the program from running.

コード内のプログラミング言語の文法エラーはプログラムの実行を妨げた。

syntax の類義語・関連語

syntax の語源・成り立ち Etymology

syntax はギリシャ語 syntaxis に由来し、syn-「共に」+ taxis「配列」から成ります。語をただ並べるのでなく「一緒に整列させる」感覚が分かると、構文が文の骨組みだと腑に落ちます。tactictaxonomy も同じ語根です。

Syntax comes from Greek syntaxis, made from syn- "together" and taxis "arrangement" or "ordering." The original idea was not just putting words side by side, but arranging them together in an ordered way. That is how the word came to mean sentence structure; tactic and taxonomy share the same Greek root for ordering.

同じレベルの英単語をもっと

英検1級の一覧へ →

外部辞書で調べる

この単語をシェア

この単語を英単語クイズで覚えよう