# POP-2: A Tiny ALGOL-Like Language That Fits in 2.5KB

Original title: A few feral cats in an ALGOL trenchcoat.

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

▲ 26 · by [bmacho](<https://news.ycombinator.com/user?id=bmacho>) · 💬 3
[original](<https://wiki.xxiivv.com/site/pop2.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49484520>)

## Summary

POP-2 is a small, elegant language with ALGOL-like syntax but a deeply concatenative evaluation scheme. Its entire compiler is under 800 lines and fits in 2.5KB of memory, making it ideal for the Uxn virtual machine. This page introduces the language through examples: stack-based assignments, functions, conditionals, gotos, and I/O via Varvara's console port. It also shows how to build a string-printing function using pointers and arrays.

## Key quote

> The language is so elegant and small that an entire compiler is less than 800 lines and fits within 2.5kb of memory.

---

## Cite

- Page: https://zeli.app/story/49484520
- Date: 2026-08-28
- Source: wiki.xxiivv.com (https://wiki.xxiivv.com/site/pop2.html)
- Hacker News: https://news.ycombinator.com/item?id=49484520

## Other languages

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