Home My space log
Language EN (English)

A Python Interpreter Written in Python

Advanced astronaut Difficulty 5/5 Build project Stop 26 / 34 Python ages teen+

A free resource picked by the open-source community. Open it to see what's inside.

Start the guide

Your guide

AI-written overview

What is it?

A Python Interpreter Written in Python is in our Build your own Programming Language group, a list of tutorials about making your own tiny language and a program that runs it. We only know the title, short description and level from our list.

Is it for me?

It is for people who already know a bit of programming and want to see how languages work inside. Most items are Intermediate or Advanced, so it suits about age teen+ and up.

Grown-ups: this is an advanced topic. It is fine to take it slowly or leave it for later.

How to start

  1. Make sure you can write a simple program in some language.
  2. Open the tutorial with a grown-up and read the first step.
  3. Build the smallest part first, like reading numbers.

How much time?

Plan about 80 minutes at a time over about 10 sessions. (estimate)

80 min per session 10 sessions estimate

A plan you can follow

  1. Day 1 40 min Read the intro and set up.
  2. Week 1 90 min Build a tiny calculator.
  3. Week 2 90 min Add variables or commands.
  4. Week 3 90 min Write a program in your new language.

Times are estimates. Go at your own speed.

Go to the learning site

You are about to leave our site to visit A Python Interpreter Written in Python on another website. We don't control that site. Ask a grown-up before you go. Check the original for details. This site may not be in your language. Your browser can translate the page: look for the translate button near the address bar, or ask a grown-up to help.

You are leaving our site

Grown-ups: this link goes to a site we do not control and have not reviewed beyond its listing. Please look at it first.

Go to the learning site (opens the original site in a new tab)

http://aosabook.org/en/500L/a-python-interpreter-written-in-python.html

On another site. From the list: codecrafters-io/build-your-own-x · License: CC0-1.0 · Build your own Programming Language

How to learn from an article or tutorial site

Your path through Python

Stop 24 Typing Resource list Stop 25 A Large Language Model (LLM) Build project Stop 26 A Python Interpreter Written in Python Build project Stop 27 Ansible Resource list Stop 28 Asyncio Resource list Stop 29 Build a Deep Learning Library Build project Stop 30 Build Deep Learning From Scratch (reimplement PyTorch internals across 34 stages) Build project

Explore next