[Python-Dev] A minimal Python interpreter written in Python for experimenting with language changes
tritium-list at sdamon.com
Fri Feb 2 21:28:00 EST 2018
Are you aware of pypy?
> -----Original Message-----
> From: Python-Dev [mailto:python-dev-bounces+tritium-
> list=sdamon.com at python.org] On Behalf Of asrp asrp
> Sent: Friday, February 2, 2018 7:02 PM
> To: python-dev at python.org
> Subject: [Python-Dev] A minimal Python interpreter written in Python for
> experimenting with language changes
> I don't know if this is the right place to post this. Please redirect as
> I've made a small Python interpreter in Python with runtime AST node
> semantics and edit-and-continue. I thought it could make prototyping
> language changes more easily and visualize usage before writing them in C.
> Its here: https://github.com/asrp/python_terp
> So, for example, redefining the for_stmt function in the right scope
> the behaviour of future for loops at runtime.
> Although from discussion I've read in PEPs, actual implementation always
> look like a non-issue (which seems like magic to me) so maybe no-one here
> actually needs this.
> (I really needed edit-and-continue for one of my projects but of course,
> running it in this extra interpreter is much too slow.)
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/tritium-
More information about the Python-Dev