In general, I do not think that extending the language is going to help
SymPy.
1) Extending a programming language is a huge amount of work.
2) Getting all the bugs and interactions with existing language features
out is even more work.
3) Making a new feature work as intended is often difficult. Many
extensions work well for the small examples, everything looks nice for
months and sometimes years, until you start hitting problems. (Multiple
dispatch is one of these features that everybody wants and that don't
scale to arbitrary ecosystem size. Making it scale requires
restrictions, which one rarely wants to do but it's also technically
hard in a restriction-unfriendly language like Python.)
4) Teaching all the static analysis tools about the new language
features is a neverending amount of work, again.
5) There's not need for that. We can always write pattern-matching rules
as Python data structures, usuing function and constructor calls; we can
always write a tree transform engine that applies these rules to an Expr
tree.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.