MCPcopy
hub / github.com/rspivak/lsbasi

github.com/rspivak/lsbasi @main sqlite

repository ↗ · DeepWiki ↗
2,105 symbols 5,381 edges 65 files 322 documented · 15%
README

Let's Build A Simple Interpreter

This repository contains the source code and examples for the blog series Let's Build A Simple Interpreter.
The series takes you step by step through creating a basic interpreter in Python, introducing fundamental ideas behind interpreters such as lexing, parsing, abstract syntax trees, and evaluation.

The goal is to make the concepts approachable and practical, so you can follow along with the blog posts, run the code yourself, and understand how interpreters work under the hood.
Each part builds on the previous one, gradually adding new language features and complexity.

Core symbols most depended-on inside this repo

visit
called by 133
part14/spi.py
visit
called by 80
part13/spi.py
visit
called by 50
part19/spi.py
visit
called by 50
part18/spi.py
visit
called by 48
part16/spi.py
visit
called by 48
part17/spi.py
eat
called by 42
part19/spi.py
eat
called by 42
part16/spi.py

Shape

Method 1,648
Class 418
Function 39

Languages

Python100%

Modules by API surface

part19/spi.py145 symbols
part18/spi.py145 symbols
part17/spi.py145 symbols
part16/spi.py129 symbols
part15/spi.py124 symbols
part14/spi.py109 symbols
part12/python/spi.py103 symbols
part13/spi.py101 symbols
part11/python/spi.py99 symbols
part10/python/spi.py73 symbols
part9/python/spi.py56 symbols
part8/python/spi.py36 symbols

For agents

$ claude mcp add lsbasi \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact