Top "Abstract-syntax-tree" questions

Abstract syntax trees (ASTs) represent the recursive structure of a formal document (program source code).

How to make use of Clang's AST?

I am looking at making use of the Clang's AST for my C code and do some analysis over the …

c clang abstract-syntax-tree
How can I dump an abstract syntax tree generated by gcc into a .dot file?

I think the question's title is self explanatory, I want to dump an abstract syntax tree generated by gcc into …

gcc graphviz dot abstract-syntax-tree
Translate C# code into AST?

Is it currently possible to translate C# code into an Abstract Syntax Tree? Edit: some clarification; I don't necessarily expect …

c# compiler-construction abstract-syntax-tree
Compiling an AST back to source code

I'm currently in the process of building a PHP Parser written in PHP, as no existing parser came up in …

php compiler-construction abstract-syntax-tree
Representing an Abstract Syntax Tree in C

I'm implementing a compiler for a simple toy language in C. I have a working scanner and parser, and a …

c compiler-construction struct tree abstract-syntax-tree
Python code generator

I want to be able to perform code generation of python given an AST description. I've done static analysis of …

python code-generation abstract-syntax-tree
Get Control flow graph from Abstract Syntax Tree

I have an AST derived from the ANTLR Parser Generator for Java. What I want to do is somehow construct …

java parsing abstract-syntax-tree control-flow
What are motivations behind compiling to byte-code?

I'm working on my own toy programming language. For now I'm interpreting the source language from AST and I'm wondering …

interpreter bytecode abstract-syntax-tree
ast.literal_eval() support for set literals in Python 2.7?

In the What’s New in Python 2.7 document it says that support for set literals was back-ported from Python 3.1. However …

python set literals abstract-syntax-tree
How can I use the java Eclipse Abstract Syntax Tree in a project outside Eclipse? (ie not an eclipse plugin)

How can I use the java Eclipse Abstract Syntax Tree in a project outside Eclipse? (ie not an eclipse plugin) …

java eclipse abstract-syntax-tree