@Certik Thanks a lot for replying. Well, as to your first question, I 
intend to develop a framework that can generate a parser. What we have in 
mathematica.py is a parser. So I want to take that one step further and 
devise a standard mechanism by which any developer can extend the enormous 
power of sympy by specifying a few things(the details of which I am still 
working on). Also as to your second question, it involves the use of 
NLP(Natural Language Processing). In that we case, we'll have to use some 
NLP framework such as NLTK or Gensim to process the inbound query. 
Although, I can think of a very rudimentary structure in NLP queries such 
as every query has to be composed of 3 parts:

1. An action. (Essentially the action maps to a function in sympy. The 
action in your example is "plot")
2. A function (The specified action has to be applied on a something, 
right? That is the function part. The function in your example is x^2)
3. Limits (Optional)(Since Sympy is largely symbolic in nature, limits may 
or may not have any significance to the computation. The limits in your 
example being x= 1 to 10)

And to your last question I would like to say that in one sense it is quite 
a big undertaking. This semester I have a course called "Principles of 
Compiler construction". After learning about the various parsing techniques 
used by the standard compilers, I think that we can apply the very same 
techniques to other Math spec languages too and develop a Parsing framework 
for sympy.

Thanks,
Aditya

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/32a9c6e3-847e-4540-8462-4cd99f0f98bf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to