> If we had some sort of easy to use standard library support for
> transpiling code, then your advice could actually be practical and not
> just dismissive. "Pft, if you don't like it, write your own language" is
> not exactly practical for most people. Even if a transpiler is a tad
> simpler than writing an entire interpreter or compiler, it's still a new
... would be best done with stdlib support, yes. I think import hooks
can do everything that's needed, but I've never actually done it.
Normally I'd just use a simple source-to-source transformation before
execution, and usually I do things that aren't ever going to show up
(string literals aside), so I don't need it to be very smart.
Python-ideas mailing list -- email@example.com
To unsubscribe send an email to firstname.lastname@example.org
Message archived at https://email@example.com/message/TZ7XW73YHYSIYTNT3NA4PBCNNBWELFHL/
Code of Conduct: http://python.org/psf/codeofconduct/