Thanks Aaron and Nikhil for suggestions. 

I have gone through javalang package and tried out few examples. AST nodes 
can be traversed in javalang and children can be accessed. Here, every 
relevant bunch of tokens are represented as an object of superclass 
CompilationUnit(somewhat similar to TranslationUnit in clang) which is 
again a subclass of generalized Node class. (Link to the javalang repo) 
<https://github.com/c2nes/javalang>
A basic example of tree traversal is attached as image.


I went through AST hierarchy in sympy ast module. I am also trying to 
understand generic sympy_expr module.
Should I start working on my proposal in this direction?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/f3d1221b-e731-49e0-9c01-09671f7fbb02%40googlegroups.com.

Reply via email to