A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-February/152080.html below:

[Python-Dev] A minimal Python interpreter written in Python for experimenting with language changes

[Python-Dev] A minimal Python interpreter written in Python for experimenting with language changes [Python-Dev] A minimal Python interpreter written in Python for experimenting with language changesasrp asrp asrp at email.com
Fri Feb 2 19:01:30 EST 2018
Hello,

I don't know if this is the right place to post this. Please redirect as needed.

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 changes 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.)

asrp
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4