Dictionary entry

formal language

noun

Last updated

UK/ˈfɔː.məl ˈlæŋ.ɡwɪdʒ/
US/ˈfɔːr.məl ˈlæŋ.ɡwɪdʒ/

Meanings

  1. nouncountabletechnicalcomputing

    A set of strings made from a finite alphabet, studied in computer science and linguistics.

    Grammar: Countable: a formal language, formal languages.

    Patterns

    • a formal language over an alphabet
    • the formal language generated by a grammar

    In automata theory, a formal language is defined as a subset of all possible strings over an alphabet.

    Regular expressions describe a type of formal language used in text processing.

  2. noununcountable

    Language that follows strict rules of grammar and style, often used in official or academic settings.

    Grammar: Uncountable: use formal language, not a formal language.

    Patterns

    • use formal language
    • in formal language

    Academic writing requires formal language and precise terminology.

    The letter was written in formal language, with no contractions or slang.

Word forms

pluralformal languages

Common combinations

define a formal language
The professor defined a formal language using set notation.
context-free formal language
Programming languages are often based on context-free formal languages.
formal language theory
Formal language theory underpins compiler design.

Synonyms and how they differ

artificial language
Often refers to constructed languages like Esperanto, not mathematical sets of strings.

Opposites

natural languageinformal language

Word family

formal adjective
Following accepted rules or conventions.
language noun
System of communication.

Commonly confused: formal language or official language?

formal language vs official language

An official language is one given legal status by a government; a formal language is a mathematical or stylistic concept.

Practice

In computer science, what is a formal language?

Make it your own

Write a sentence using “formal language”, then check it and compare it with the examples above.

Your sentence stays on this page and is not sent anywhere.

Explore more words