abstract-syntax-tree
- AST Transformation in Groovy: Create Macro to Give a Basic Constructor- I would like to make a macro that would essentially expand this: @WithB开发者_运维问答asicConstructor[详细] 2023-02-11 00:34 分类:问答
- How hard is it to write an interpreted language assuming you have an AST?- I already have a parser for 开发者_如何学Goa language I\'ve been working on. Is making it interpreted difficult? I was thinking its simple. The parsing and syntax check is done. I just have a tree of[详细] 2023-02-10 11:52 分类:问答
- Getting module name with ast- How to get a python module name using ast? I tried the following to get the Module Node, but looks like it does not have the name information:[详细] 2023-02-10 08:12 分类:问答
- Text parsing library- A colleague of mine works on an universal text parsing library, based on C# lambdas. The cor开发者_运维知识库e looks cool, but unfortunately to me he has hardcoded a grammar, specifical to his private[详细] 2023-02-10 05:24 分类:问答
- How would I recompile Ripper's AST back to Ruby code?- Ripper is the the parsing library that ships with Ruby 1.9.It transforms Ruby code into an AST, like so:[详细] 2023-02-08 17:51 分类:问答
- Tree structure for AST- I am trying to write an interpreter in C# and I am on a parsing stage. I figured out I have to generate Abstract Syntax Tree at this point, but I don\'t know how to represent it in C#.[详细] 2023-02-07 16:42 分类:问答
- python: get the abstract syntax tree of imported function?- Let\'s say I\'ve already imported a python module in the interpreter. How can I get the abstract syntax tree of the impor开发者_高级运维ted module (and any functions and classes within it) within the[详细] 2023-02-07 03:22 分类:问答
- Python code reflection and modification- Perhaps I\'m not using the proper term, but I\'m looking to take a block of Python code (in Python), get the token tree for the code, make some kind of modification, and re-assemble it to Python.[详细] 2023-02-05 20:58 分类:问答
- Parse Python file and evaluate selected functions- I have a file that contains several python functions, each with some statements. def func1(): codeX...[详细] 2023-02-03 17:12 分类:问答
- How can I create an antlr tree of a given shape?- I\'ve got an antlr grammar that has a rule like so: rule: ID (COMMA ID)* ; where ID is a lexer rule for matching a typical variable name and comma is a lexer rule that matches a comma.So the rule m[详细] 2023-02-03 15:12 分类:问答
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......