compile

compile — verb

1. to gather pieces of information, material, or data from various sources and brin

1.verbtransitiveC1
Definition

to gather pieces of information, material, or data from various sources and bring them together into an organized document or collection.

Example

The research team compiled data from over fifty hospitals across Japan.

compile + data from [source]

Priya spent three weeks compiling a list of endangered birds in the region.

Common collocations
  • compile data
  • compile a list
  • compile information
  • compile a report
  • compile statistics
  • compile a dictionary
Synonyms
  • gather

    less formal and broader in scope; you can gather objects or people, whereas compile is limited to information

  • collect

    suggests accumulation without necessarily imposing organization; compile implies arranging what is gathered

  • assemble

    focuses on fitting separate components into a whole; more common for objects or teams than for information

  • collate

    more formal, emphasizes comparing and arranging pages or data in a specified order before binding

Antonyms
  • scatter

    opposite of gathering together into one place

  • disperse

    to spread items apart rather than bring them together

Grammar Patterns

compile + [noun phrase]

Usage Note

Object is typically a document, list, dataset, or collection; the subject is usually a person, team, or organization responsible for research or editorial work.

Common Mistakes

I compiled some apples from the market.
I compiled data from multiple sources into a report.
compile is used for information or data, not physical objects.

2. to convert human-readable program instructions into machine code that a computer

2.verbtransitiveB2
Definition

to convert human-readable program instructions into machine code that a computer can run directly.

Example

The developer compiled the Java program before running it on the server.

compile + program before executing

You need to compile the code first, or the computer will not run it.

Common collocations
  • compile code
  • compile a program
  • compile source files
  • compile a script
Synonyms
  • translate

    broader meaning; compile is a specific type of translation from human-readable code to machine code

  • convert

    more general; compile involves converting program instructions into executable binary form

Grammar Patterns

compile + [noun phrase]

Usage Note

Subject is usually a developer, programmer, or automated build system. The object is the source code, program, or script being converted. Common in software development contexts.

Common Mistakes

I compiled the document in Microsoft Word.
I compiled the Java source code using the command line.
in computing, compile has a specific meaning about converting code, not just creating a document.

Word family

  • compilation
    nounB2
  • compiler
    nounB2
  • compiling
    nounC1

Synonym discussion

Sense: verb/1

Gather, collect, collate, and assemble all involve bringing things together, but compile specifically implies organizing the gathered items into a structured whole — typically a document, list, or dataset. You can gather firewood or collect stamps, but you compile a report or a dictionary. Collate is closer to compile than collect is: collating means comparing and arranging pages or data in a specific order, often as a step before binding. Assemble focuses on fitting components together into a completed object (assemble a team, assemble furniture), whereas compile is reserved for information-based products. For example: 'The librarian compiled a list of all available journals' — here compile is the right choice because the result is an organized document. 'She collected magazine articles for years' could mean she kept them without arranging them.

Common collocations

Nouns

  • compilation
  • compiler

Adverbs

Prepositions

Etymology

LatinFrenchEnglish

From Latin compilare, meaning 'to plunder or rob' — the word later shifted to mean 'to heap together' and then 'to collect written materials from various sources.' The computing sense emerged in the 1950s with the development of early programming languages and compilers.