"syntactic sugar" meaning in English

See syntactic sugar in All languages combined, or Wiktionary

Noun

Etymology: Attributed to British computer scientist Peter Landin. Etymology templates: {{coin|en|Q92952|nocap=1|notext=1}} British computer scientist Peter Landin Head templates: {{en-noun|-}} syntactic sugar (uncountable)
  1. (computing) Additions to the syntax of a computer language that make code easier for humans to read or write, but that do not change the functionality or expressiveness of the language. Tags: uncountable Categories (topical): Computing Derived forms: desugar, desugared Related terms: pretty-print Translations (Translations): التَّجْمِيل اللُّغَوِيّ (at-tajmīl al-luḡawiyy) [masculine] (Arabic), 語法糖 (Chinese Mandarin), 语法糖 (yǔfǎ táng) (Chinese Mandarin), syntaktický cukr [masculine] (Czech), syntactische suiker [masculine] (Dutch), syntaktinen sokeri (Finnish), sucre syntaxique [masculine] (French), syntaktischer Zucker [masculine] (German), sintaxala sukro (Ido), zucchero sintattico [masculine] (Italian), 糖衣構文 (tōikōbun) (alt: とういこうぶん) (Japanese), 構文糖 (kōbuntō) (alt: こうぶんとう) (Japanese), 構文糖衣 (kōbuntōi) (alt: こうぶんとうい) (Japanese), シンタックス・シュガー (Japanese), syntaktisk sukker [neuter] (Norwegian Bokmål), lukier składniowy [masculine] (Polish), lukier syntaktyczny [masculine] (Polish), cukier syntaktyczny [masculine] (Polish), cukier składniowy [masculine] (Polish), açúcar sintático [masculine] (Portuguese), синтакси́ческий са́хар (sintaksíčeskij sáxar) [masculine] (Russian), azúcar sintáctico [masculine] (Spanish), syntaktiskt socker [neuter] (Swedish), sözdizimsel şeker (Turkish), синтаксичний цукор (syntaksyčnyj cukor) [masculine] (Ukrainian)

Download JSON data for syntactic sugar meaning in English (5.4kB)

{
  "antonyms": [
    {
      "word": "syntactic salt"
    }
  ],
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "Q92952",
        "nocap": "1",
        "notext": "1"
      },
      "expansion": "British computer scientist Peter Landin",
      "name": "coin"
    }
  ],
  "etymology_text": "Attributed to British computer scientist Peter Landin.",
  "head_templates": [
    {
      "args": {
        "1": "-"
      },
      "expansion": "syntactic sugar (uncountable)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Japanese terms with redundant script codes",
          "parents": [
            "Terms with redundant script codes",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Mandarin terms with non-redundant manual transliterations",
          "parents": [
            "Terms with non-redundant manual transliterations",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Russian terms with redundant script codes",
          "parents": [
            "Terms with redundant script codes",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Ukrainian terms with redundant script codes",
          "parents": [
            "Terms with redundant script codes",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Computing",
          "orig": "en:Computing",
          "parents": [
            "Technology",
            "All topics",
            "Fundamental"
          ],
          "source": "w"
        }
      ],
      "derived": [
        {
          "word": "desugar"
        },
        {
          "word": "desugared"
        }
      ],
      "examples": [
        {
          "text": "In fact, this is how lists are actually built, by consing all elements to the empty list, []. The commas-and-brackets notation is just syntactic sugar, a more pleasant way to write code. So [1, 2, 3, 4, 5] is exactly equivalent to 1:2:3:4:5:[]. ᵂᴮ"
        }
      ],
      "glosses": [
        "Additions to the syntax of a computer language that make code easier for humans to read or write, but that do not change the functionality or expressiveness of the language."
      ],
      "id": "en-syntactic_sugar-en-noun-zlh9xuWa",
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "syntax",
          "syntax"
        ],
        [
          "computer language",
          "computer language#English"
        ],
        [
          "code",
          "code#English"
        ]
      ],
      "raw_glosses": [
        "(computing) Additions to the syntax of a computer language that make code easier for humans to read or write, but that do not change the functionality or expressiveness of the language."
      ],
      "related": [
        {
          "word": "pretty-print"
        }
      ],
      "tags": [
        "uncountable"
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "sciences"
      ],
      "translations": [
        {
          "code": "ar",
          "lang": "Arabic",
          "roman": "at-tajmīl al-luḡawiyy",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "التَّجْمِيل اللُّغَوِيّ"
        },
        {
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "sense": "Translations",
          "word": "語法糖"
        },
        {
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "roman": "yǔfǎ táng",
          "sense": "Translations",
          "word": "语法糖"
        },
        {
          "code": "cs",
          "lang": "Czech",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "syntaktický cukr"
        },
        {
          "code": "nl",
          "lang": "Dutch",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "syntactische suiker"
        },
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "syntaktinen sokeri"
        },
        {
          "code": "fr",
          "lang": "French",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "sucre syntaxique"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "syntaktischer Zucker"
        },
        {
          "code": "io",
          "lang": "Ido",
          "sense": "Translations",
          "word": "sintaxala sukro"
        },
        {
          "code": "it",
          "lang": "Italian",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "zucchero sintattico"
        },
        {
          "alt": "とういこうぶん",
          "code": "ja",
          "lang": "Japanese",
          "roman": "tōikōbun",
          "sense": "Translations",
          "word": "糖衣構文"
        },
        {
          "alt": "こうぶんとう",
          "code": "ja",
          "lang": "Japanese",
          "roman": "kōbuntō",
          "sense": "Translations",
          "word": "構文糖"
        },
        {
          "alt": "こうぶんとうい",
          "code": "ja",
          "lang": "Japanese",
          "roman": "kōbuntōi",
          "sense": "Translations",
          "word": "構文糖衣"
        },
        {
          "code": "ja",
          "lang": "Japanese",
          "sense": "Translations",
          "word": "シンタックス・シュガー"
        },
        {
          "code": "nb",
          "lang": "Norwegian Bokmål",
          "sense": "Translations",
          "tags": [
            "neuter"
          ],
          "word": "syntaktisk sukker"
        },
        {
          "code": "pl",
          "lang": "Polish",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "lukier składniowy"
        },
        {
          "code": "pl",
          "lang": "Polish",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "lukier syntaktyczny"
        },
        {
          "code": "pl",
          "lang": "Polish",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "cukier syntaktyczny"
        },
        {
          "code": "pl",
          "lang": "Polish",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "cukier składniowy"
        },
        {
          "code": "pt",
          "lang": "Portuguese",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "açúcar sintático"
        },
        {
          "code": "ru",
          "lang": "Russian",
          "roman": "sintaksíčeskij sáxar",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "синтакси́ческий са́хар"
        },
        {
          "code": "es",
          "lang": "Spanish",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "azúcar sintáctico"
        },
        {
          "code": "sv",
          "lang": "Swedish",
          "sense": "Translations",
          "tags": [
            "neuter"
          ],
          "word": "syntaktiskt socker"
        },
        {
          "code": "tr",
          "lang": "Turkish",
          "sense": "Translations",
          "word": "sözdizimsel şeker"
        },
        {
          "code": "uk",
          "lang": "Ukrainian",
          "roman": "syntaksyčnyj cukor",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "синтаксичний цукор"
        }
      ]
    }
  ],
  "word": "syntactic sugar"
}
{
  "antonyms": [
    {
      "word": "syntactic salt"
    }
  ],
  "derived": [
    {
      "word": "desugar"
    },
    {
      "word": "desugared"
    }
  ],
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "Q92952",
        "nocap": "1",
        "notext": "1"
      },
      "expansion": "British computer scientist Peter Landin",
      "name": "coin"
    }
  ],
  "etymology_text": "Attributed to British computer scientist Peter Landin.",
  "head_templates": [
    {
      "args": {
        "1": "-"
      },
      "expansion": "syntactic sugar (uncountable)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "pretty-print"
    }
  ],
  "senses": [
    {
      "categories": [
        "English coinages",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "English terms coined by Peter Landin",
        "English uncountable nouns",
        "Japanese terms with redundant script codes",
        "Mandarin terms with non-redundant manual transliterations",
        "Russian terms with redundant script codes",
        "Translation table header lacks gloss",
        "Ukrainian terms with redundant script codes",
        "en:Computing"
      ],
      "examples": [
        {
          "text": "In fact, this is how lists are actually built, by consing all elements to the empty list, []. The commas-and-brackets notation is just syntactic sugar, a more pleasant way to write code. So [1, 2, 3, 4, 5] is exactly equivalent to 1:2:3:4:5:[]. ᵂᴮ"
        }
      ],
      "glosses": [
        "Additions to the syntax of a computer language that make code easier for humans to read or write, but that do not change the functionality or expressiveness of the language."
      ],
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "syntax",
          "syntax"
        ],
        [
          "computer language",
          "computer language#English"
        ],
        [
          "code",
          "code#English"
        ]
      ],
      "raw_glosses": [
        "(computing) Additions to the syntax of a computer language that make code easier for humans to read or write, but that do not change the functionality or expressiveness of the language."
      ],
      "tags": [
        "uncountable"
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "sciences"
      ]
    }
  ],
  "translations": [
    {
      "code": "ar",
      "lang": "Arabic",
      "roman": "at-tajmīl al-luḡawiyy",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "التَّجْمِيل اللُّغَوِيّ"
    },
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "sense": "Translations",
      "word": "語法糖"
    },
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "roman": "yǔfǎ táng",
      "sense": "Translations",
      "word": "语法糖"
    },
    {
      "code": "cs",
      "lang": "Czech",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "syntaktický cukr"
    },
    {
      "code": "nl",
      "lang": "Dutch",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "syntactische suiker"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "syntaktinen sokeri"
    },
    {
      "code": "fr",
      "lang": "French",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "sucre syntaxique"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "syntaktischer Zucker"
    },
    {
      "code": "io",
      "lang": "Ido",
      "sense": "Translations",
      "word": "sintaxala sukro"
    },
    {
      "code": "it",
      "lang": "Italian",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "zucchero sintattico"
    },
    {
      "alt": "とういこうぶん",
      "code": "ja",
      "lang": "Japanese",
      "roman": "tōikōbun",
      "sense": "Translations",
      "word": "糖衣構文"
    },
    {
      "alt": "こうぶんとう",
      "code": "ja",
      "lang": "Japanese",
      "roman": "kōbuntō",
      "sense": "Translations",
      "word": "構文糖"
    },
    {
      "alt": "こうぶんとうい",
      "code": "ja",
      "lang": "Japanese",
      "roman": "kōbuntōi",
      "sense": "Translations",
      "word": "構文糖衣"
    },
    {
      "code": "ja",
      "lang": "Japanese",
      "sense": "Translations",
      "word": "シンタックス・シュガー"
    },
    {
      "code": "nb",
      "lang": "Norwegian Bokmål",
      "sense": "Translations",
      "tags": [
        "neuter"
      ],
      "word": "syntaktisk sukker"
    },
    {
      "code": "pl",
      "lang": "Polish",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "lukier składniowy"
    },
    {
      "code": "pl",
      "lang": "Polish",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "lukier syntaktyczny"
    },
    {
      "code": "pl",
      "lang": "Polish",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "cukier syntaktyczny"
    },
    {
      "code": "pl",
      "lang": "Polish",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "cukier składniowy"
    },
    {
      "code": "pt",
      "lang": "Portuguese",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "açúcar sintático"
    },
    {
      "code": "ru",
      "lang": "Russian",
      "roman": "sintaksíčeskij sáxar",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "синтакси́ческий са́хар"
    },
    {
      "code": "es",
      "lang": "Spanish",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "azúcar sintáctico"
    },
    {
      "code": "sv",
      "lang": "Swedish",
      "sense": "Translations",
      "tags": [
        "neuter"
      ],
      "word": "syntaktiskt socker"
    },
    {
      "code": "tr",
      "lang": "Turkish",
      "sense": "Translations",
      "word": "sözdizimsel şeker"
    },
    {
      "code": "uk",
      "lang": "Ukrainian",
      "roman": "syntaksyčnyj cukor",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "синтаксичний цукор"
    }
  ],
  "word": "syntactic sugar"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-05 from the enwiktionary dump dated 2024-05-02 using wiktextract (f4fd8c9 and c9440ce). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.