# Building a Simple APL Interpreter in Python: Part 1

Original title: Let's build a simple interpreter for APL – part 1

> Hacker News story 48856746 · language: en · submitted 2026-07-10
> Web version: https://zeli.app/story/48856746
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 43 · by [mpweiher](<https://news.ycombinator.com/user?id=mpweiher>) · 💬 3
[original](<https://mathspp.com/blog/lsbasi-apl-part1>) · [HN discussion](<https://news.ycombinator.com/item?id=48856746>)

## Summary

I am embarking on a journey to build a fully functional APL interpreter using Python, inspired by Ruslan Spivak's series. In this first part, I focus on tokenizing APL code from right to left and defining a grammar to construct an Abstract Syntax Tree. My goal is to learn APL, improve my Python skills, and document the process to help others create their own interpreters.

## Key quote

> By the way, this might be a great moment to let you know that I make mistakes! Lots of them!

---

## Cite

- Page: https://zeli.app/story/48856746
- Date: 2026-07-10
- Source: mathspp.com (https://mathspp.com/blog/lsbasi-apl-part1)
- Hacker News: https://news.ycombinator.com/item?id=48856746

## Other languages

- zh: https://zeli.app/zh/story/48856746 · markdown: https://zeli.app/zh/story/48856746.md
- ja: https://zeli.app/ja/story/48856746 · markdown: https://zeli.app/ja/story/48856746.md
- ko: https://zeli.app/ko/story/48856746 · markdown: https://zeli.app/ko/story/48856746.md
- de: https://zeli.app/de/story/48856746 · markdown: https://zeli.app/de/story/48856746.md
- es: https://zeli.app/es/story/48856746 · markdown: https://zeli.app/es/story/48856746.md
