# Memelang: A Token-Terse Query Language That Squeezes SQL into a Few Characters

Original title: Memelang: Token-Terse Query Language

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

▲ 10 · by [bri-holt](<https://news.ycombinator.com/user?id=bri-holt>) · 💬 3
[original](<https://memelang.net/11/>) · [HN discussion](<https://news.ycombinator.com/item?id=49196957>)

## Summary

Memelang is a compact domain-specific language that compresses SQL queries into a terse, token-based syntax. It uses an axial grammar—Axis2, Axis1, Axis0—to structure queries, with whitespace and punctuation separating cells. The language supports joins, aggregations, filters, and even vector similarity searches, all in a minimal footprint. This release (v11) includes a reference implementation in Python, demonstrating how to parse and translate Memelang into parameterized SQL. It's designed for LLM-powered text-to-SQL pipelines, aiming to reduce token usage and improve accuracy.

## Key quote

> Whitespaces are syntactic and trigger "new Cell"

---

## Cite

- Page: https://zeli.app/story/49196957
- Date: 2026-08-06
- Source: memelang.net (https://memelang.net/11/)
- Hacker News: https://news.ycombinator.com/item?id=49196957

## Other languages

- zh: https://zeli.app/zh/story/49196957 · markdown: https://zeli.app/zh/story/49196957.md
