Abstract Syntax Tree (AST)

Abstract Syntax Tree (AST) is a representation of source code that abstracts away some of the specific syntax details (like parentheses or semicolons) present in the Concrete Syntax Tree (CST). It is better suited for optimization and translation.

In the Go compiler, the Front End converts the type-checked Concrete Syntax Tree into an AST during the IR Construction (or “Noding”) phase.

    Mike 3.0

    Send a message to start the chat!

    You can ask the bot anything about me and it will help to find the relevant information!

    Try asking: