Not exact specification, but there is a proper syntax definition. Please take a look here:
https://reference.wolfram.com/mathematica/tutorial/TheSyntaxOfTheMathematicaLanguage.html So here what differs is that all the inbuilt functions start with a Capital letter, Also inverse trignometric functions have 'Arc' instead of 'a' in case of sympy. The functions use [] instead of () to take in args. And as Aaron mentioned, the user can specify from which language he needs to parse his string, so there is no need for language detection. I can think on the most commonly used traits while determining the parsed string. So the language parser would simply convert the string to a python/sympy equivalent and its evaluation will then be done my another module similar to sympify. -- 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 post to this group, send email to [email protected]. 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/bab80ff1-5874-4924-9599-04d25469abb0%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
