abstract-syntax-tree
Associativity and Precedence of Expressions when Generating C / C++ Code?
I have written a basic compiler which generates an AST, 开发者_高级运维correctly taking account of the operator precedence in expressions. However, when performing code generation to produce C++ code,[详细]
2023-01-27 06:09 分类:问答ANTLR AST building problem
I am unable to get AST of \" risk & factors | concise\" | item 503 using following grammar grammar BoolExpRep;[详细]
2023-01-26 18:19 分类:问答python ast module resource [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-01-24 18:51 分类:问答Generating simple AST in ANTLR
I\'m playing a bit around开发者_运维问答 with ANTLR, and wish to create a function like this: MOVE x y z pitch roll[详细]
2023-01-24 14:37 分类:问答How to implement a function call with Antlr so that it can be called even before it is defined?
Once 开发者_JAVA技巧the AST is built, what is the best way implement the tree walker so that functions can be defined and called in whatever order?[详细]
2023-01-22 20:18 分类:问答Javac AST Symbol Resolving for JavacTask.parse()
As I posted on the official Java suppo开发者_如何学JAVArt forum several days ago, I want to know, if JCTree Symbols can be resolved from own code with the original javac implementation.[详细]
2023-01-22 17:06 分类:问答ANTLR AST building: root node as string instead of character
I might be asking a stupid/basic question but i had been confused about ANTLR AST building. What i want to made is a kind of Boolean e开发者_Go百科xpression parser such that on parent nodes i have op[详细]
2023-01-22 02:03 分类:问答Given an AST, is there a working library for getting the source?
Is there a way to convert a given Python abstract syntax tree (AST) to a source code? Here is a good example of how to use Python\'s ast module, specif开发者_C百科ically a NodeTransformer. I was look[详细]
2023-01-17 01:07 分类:问答How do I see where in the Class Hierarchy a Method was defined and Overridden in Ruby?
Is there a way to know whether or not a method has been overridden by a subclass programmatically?Something that works like this:[详细]
2023-01-12 03:36 分类:问答What kinds of patterns could I enforce on the code to make it easier to translate to another programming language? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this[详细]
2023-01-10 21:16 分类:问答
加载中,请稍侯......