Another thing to consider, since this would be the third such language
to be supported in SymPy (after C and Fortran), is if there are
commonalities in the parsing code for each that should be factored out
into a helper submodule.

Aaron Meurer

On Mon, Mar 16, 2020 at 1:12 PM Gajjar Smit <[email protected]> wrote:
>
> 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)
> 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.

-- 
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/CAKgW%3D6%2Bh2H33AehhfmsPgFBD0fkz7-X4cTEx4tOy3w4N2XUuPA%40mail.gmail.com.

Reply via email to