Top "Abstract-syntax-tree" questions

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

How to implement JJTree on grammar

I have an assignment to use JavaCC to make a Top-Down Parser with Semantic Analysis for a language supplied by …

java parsing compiler-construction abstract-syntax-tree javacc
Can I get an XML AST dump of C/C++ code with clang without using the compiler?

I managed to compile successfully clang for windows with cmake and visual studio 10. I would like to get an XML …

xml clang code-generation abstract-syntax-tree
How does a simple calculator with parentheses work?

I want to learn how calculators work. For example, say we have inputs in infix notation like this: 1 + 2 x 10 - 2 …

parsing syntax calculator abstract-syntax-tree
clang -cc1 and system includes

I have the following file foo.cpp: #include <vector> struct MyClass { std::vector<int> v; }; It …

c++ clang include-path abstract-syntax-tree
What is an AST transformation?

What is an AST transformation in general? I came across these words when reading Groovy blog's. But what it is …

groovy abstract-syntax-tree program-transformation
TypeScript: get syntax tree

I had read "whole internet", but can't find any examples about getting syntax tree (just like in Esprima) from TypeScrypt …

typescript abstract-syntax-tree
get human readable AST from c++ code

In order to get a better understanding of some of the details of the C++ language and grammer, I would …

c++ abstract-syntax-tree
Generate an AST in C++

I'm making an interpreter in C++, so far I've got my lexer to generate tokens. The problem is I'm not …

c++ algorithm parsing abstract-syntax-tree lalr
Scala AST in Scala

Is there a Scala library that parses Scala and creates an Abstract Syntax Tree (AST)? Ideally I am interested in …

scala abstract-syntax-tree
Parsing SQL like syntax, design pattern

I am trying mock sql syntax to build a simple sql like interface to a key-value storage. The values are …

java sql design-patterns antlr abstract-syntax-tree