[Discussion] Plans for the Parsing Module for GSoC 2020

51 views
Skip to first unread message

Nikhil Maan

unread,
Jan 4, 2020, 4:10:29 AM1/4/20
to sympy
I wanted to discuss the plans for the parsing module for the upcoming Google Summer of Code.

One option is to improve upon GSoC 2019's work and add more features to the C and Fortran parsers. But, as of now, LFortran has decided to focus completely on development of the C++ version. So, I think we need to wait on the Fortran parser.

Another option is to create new parsers and add support for more languages to the current infrastructure, like Julia or MATLAB etc. We can even try Natural Language Processing and try to parse some natural languages' syntax to SymPy's Expressions.

Another project that can help the module is to improve the AST. The more features the AST has , the more features can be implemented into the existing and new parsers.

Aaron Meurer

unread,
Jan 4, 2020, 1:10:44 PM1/4/20
to sy...@googlegroups.com
For other languages it would be good if there were another library like lfortran that does the hard parsing work so sympy just needs to handle an ast. 

Natural language parsing could be useful, though it might be better as a separate library. 

Aaron Meurer 

--
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 sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/8323181f-a5ae-4f29-907a-f54c4eb0d4f0%40googlegroups.com.

Nikhil Maan

unread,
Feb 9, 2020, 12:55:54 PM2/9/20
to sympy
I looked at some languages and their compilers. Julia, Octave and R compilers all provide ASTs for their syntax and APIs to access and manipulate their AST. As for python implementations, Julia provides pyjulia, still looking for other language's interfaces. I am also looking at other languages and their compilers. Any suggestions for other languages that might be useful?

Also, another question, Should I work on these projects as a student or as a mentor?


On Saturday, January 4, 2020 at 11:40:44 PM UTC+5:30, Aaron Meurer wrote:
For other languages it would be good if there were another library like lfortran that does the hard parsing work so sympy just needs to handle an ast. 

Natural language parsing could be useful, though it might be better as a separate library. 

Aaron Meurer 
On Sat, Jan 4, 2020 at 2:10 AM Nikhil Maan <nikhil...@gmail.com> wrote:
I wanted to discuss the plans for the parsing module for the upcoming Google Summer of Code.

One option is to improve upon GSoC 2019's work and add more features to the C and Fortran parsers. But, as of now, LFortran has decided to focus completely on development of the C++ version. So, I think we need to wait on the Fortran parser.

Another option is to create new parsers and add support for more languages to the current infrastructure, like Julia or MATLAB etc. We can even try Natural Language Processing and try to parse some natural languages' syntax to SymPy's Expressions.

Another project that can help the module is to improve the AST. The more features the AST has , the more features can be implemented into the existing and new parsers.

--
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 sy...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages