Skip to content

Lexicon Entry

AST (Abstract Syntax Tree)

A tree representation of the syntactic structure of source code. Each node represents a construct (e.g., binary expression, function declaration).

Related Knowledge & Cross-References

Guide

Compiler Lexer & Parser Demystified: How Compilers Read Your C Code

Learn how a compiler lexer and parser transform C source into tokens and ASTs. Hands-on with Clang's -dump-tokens and -ast-dump across real examples.