[Python-Dev] Re: PEP 638: Syntactic macros

2023-02-05 Thread cdp49
> Python has consistently refused to be turned into a platform for DSLs for > almost 3 decades. I think SymPy, PyMC, Pyomo, Pyro, and many more packages would all be very surprised to hear they're no longer welcome in Python. Still, it seems like it would be quite hard to kick them out, and wo

[Python-Dev] Re: PEP 638: Syntactic macros

2023-02-01 Thread cdp49
I think that's exactly the problem with a lack of Python macros. The full quote, of course, goes: "There should be one-- and preferably only one --*obvious* way to do it." Often, there's a mathematical notation for something, and *this* is the only obvious way to write anything out. But this do

[Python-Dev] Re: PEP 638: Syntactic macros

2023-02-01 Thread cdp49
Unfortunately, it's no longer being maintained. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mai

[Python-Dev] Re: PEP 638: Syntactic macros

2023-01-29 Thread cdp49
It looks like this hasn't gone anywhere in the past few years, which is a shame. Syntactic macros are one of the 2 or 3 "Killer features" that pushed me out of Python and into Julia (along with JITting inferred types and multiple dispatch). Math+data science code written in Julia is a lot more r