I have recently come into the need of modifying some Java code (adding methods, changing开发者_运维技巧 the signatures of some fields and removing methods) and I think that all of this can be accompli
Sorry for the kind of general question. More details about what I want: I want the user to be able to write some Python code and execute it. Once there is an exception which is not handled, I want th
What type of algorithm would be used to construct a syntax tree from an expression represented in prefix order 开发者_高级运维notation?A simple recursive algorithm can convert a prefix-order expressio
I\'ve got this piece of code: import inspect import ast def func(foo): return foo.bar - foo.baz s = inspect.getsource(func)
I\'d like to be able to get the AST for a given OCaml program (I\'d like to walk the AST and generate an instrumented version开发者_JS百科 of the code or do some kind of transformation, for example).D
I would like to make开发者_如何学Go a plugin for Qt Creator, and I want access to the parsing files (AST) in Qt Creator. For example if you right click on a variable, retrieve its type.
I have a Java source code that I need to interrogate and apply security policies [for e.g. applying CWE]
Is there a way to use jdt ASTParser to get the value of a String field declared in a java file. Actually what I need is to resolve any possible dependencies from other classe开发者_如何学Pythons e.g.
I would like to create simple C++ calculator using bi开发者_如何学Pythonson and flex. Please note I\'m new to the creating parsers. I already found few examples in bison/flex but they were all written
I am reading the book Language Implementation Patterns (http://pragprog.com/book/tpdsl/language-implementation-patterns) amongst a few others mixed in to clarify concepts as well as the occasional web