有兴趣可以按下面顺序分析文章
https://aosabook.org/en/500L/a-python-interpreter-written-in-python.html
https://qingyunha.github.io/taotao/
https://leanpub.com/insidethepythonvirtualmachine/read
https://github.com/nedbat/byterun
https://github.com/waynerv/A-Python-Interpreter-Written-in-Python-Interpreted-in-Chinese