Memelang is an AI-optimized query language that significantly reduces token count for LLM text-to-SQL pipelines:
- LLM emits low-token Memelang queries
- memelang.py expands Memelang to SQL queries
- Database executes SQL queries
LLM converts the natural language query
Who has co-starred with Mark Hamill?to this 22-token Memelang query
roles actor :$a="Mark Hamill"; movie *; @ @ @; actor !$a
which memelang.py expands to this 50-token SQL query
SELECT t0.actor, t0.movie, t1.movie, t1.actor FROM roles AS t0, roles AS t1 WHERE t0.actor = 'Mark Hamill' AND t1.actor != t0.actor AND t1.movie = t0.movie- memelang.py main library for parsing Memelang and converting to SQL
- train/ contains example natural language to Memelang conversions for LLM training.
- Video: https://www.youtube.com/watch?v=25tJzR5pEd0
- Paper: https://arxiv.org/abs/2512.17967
- Patent: https://patents.google.com/patent/US20250068615A1
- Contact: info@memelang.net
©2026 HOLTWORK LLC. US Patent 12,475,098 and additional pending. This software is free to use for development, testing, and educational purposes. Commercial deployment, redistribution, or production use requires a separate license.