Metraipolis › archive › dc_9c32259570bc
Abstract syntax tree — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Abstract_syntax_tree
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-11-07T08:36:25.234Z
- SHA-256 of the archived text
d475bf10fe2424386b80a781f51a3c959dc6c20146ee83a98708a821fccb767f- Stable URL of this page
https://metraipolis.com/documento/dc_9c32259570bc
How to cite
Abstract syntax tree — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Abstract_syntax_tree (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_9c32259570bc (Metraipolis archive dc_9c32259570bc, sha256 d475bf10fe2424386b80a781f51a3c959dc6c20146ee83a98708a821fccb767f)
BibTeX
@misc{dc9c32259570bc,
title = {Abstract syntax tree — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Abstract_syntax_tree},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_9c32259570bc; sha256 d475bf10fe2424386b80a781f51a3c959dc6c20146ee83a98708a821fccb767f},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Abstract_syntax_tree. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
An abstract syntax tree (AST) is a data structure used in computer science to represent the structure of a program or code snippet. It is a tree representation of the abstract syntactic structure of text (often source code) written in a formal language. Each node of the tree denotes a construct occurring in the text. It is sometimes called just a syntax tree. The syntax is "abstract" in the sense that it does not represent every detail appearing in the real syntax, but rather just the structural or content-related details. For instance, grouping parentheses are implicit in the tree structure, so these do not have to be represented as separate nodes. Likewise, a syntactic construct like an if-condition-then statement may be denoted by means of a single node with three branches. This distinguishes abstract syntax trees from concrete syntax trees, traditionally designated parse trees. Parse trees are typically built by a parser during the source code translation and compiling process. Once built, additional information is added to the AST by means of subsequent processing, e.g., contextual analysis. Abstract syntax trees are also used in program analysis and program transformation systems. Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico). Fonte: Wikipedia in inglese, voce «Abstract syntax tree» — https://en.wikipedia.org/wiki/Abstract_syntax_tree Wikidata Q127380: «rappresentazione ad albero della struttura sintattica astratta del testo» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q127380 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Abstract_syntax_tree?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1380221583, consultata il 2026-11-07T08:32:12.423Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: ef87a7a8a3be95a42078b982cc372cb3e15c634a6f338a01c5d61d3318304917