Skip to content

Exploring the Parsed AST

Alchemist parses source code into an Abstract Syntax Tree (AST). An AST is a tree representation of the syntactic structure of source code. It is an intermediate representation of the code that is easier to analyze and manipulate than the original source code. To learn more about ASTs, visit the Wikipedia page.

You can explore the generated AST via the Alchemist UI on the "AST Explorer" tab. Gaining a deep understanding of the nodes within the AST is crucial when writing custom conversion templates and configurations. By familiarizing yourself with the AST structure, you can create more efficient and accurate conversion rules, leading to better results in the conversion process.