The life and times of an Abstract Syntax Tree
Summary
A Trail of Bits engineer discusses AST design pragmatics for compiler authors: node structure, memory layout, and API trade-offs between naive, OOP, and index-based approaches.
- Published
- Collected
--- id: 1502 title: "The life and times of an Abstract Syntax Tree" source_domain: blog.trailofbits.com source_url: "https://blog.trailofbits.com/2024/05/02/the-life-and-times-of-an-abstract-syntax-tree/" published_at: "2024-05-02 13:00" tags: ["ast", "cpp", "compilers", "software-engineering", "programming"] phying_url: "https://phying.com/item/1502" lang: en --- # The life and times of an Abstract Syntax Tree ## Summary A Trail of Bits engineer discusses AST design pragmatics for compiler authors: node structure, memory layout, and API trade-offs between naive, OOP, and index-based approaches. ## Intelligence Metadata - **Sources:** blog.trailofbits.com - **Published:** 2024-05-02 13:00 - **Original:** https://blog.trailofbits.com/2024/05/02/the-life-and-times-of-an-abstract-syntax-tree/ - **Phying News:** https://phying.com/item/1502