Memelang: Token-Terse Query Language

·Hacker News··

Memelang Memelang is a terse query language that substantially reduces compute costs for LLMs emitting billions of SQL queries daily. Low-token Memelang is emitted as an intermediate representation which is then programatically translated into higher-token SQL for the database. Example: Memelang (20 tokens) roles actor :$a="Mark Hamill";movie _;@ @ @;actor !$a SQL (36 tokens) SELECT x.actor,x.movie,y.movie,y.actor FROM roles AS x,roles AS y WHERE x.actor='Mark Hamill' AND y.id!=x.id AND y.movie=

Read full article →

Related Articles

Timeline of the OpenAI accidental attack against Hugging Face
882542F3884314B · Hacker News · 1d ago
We replaced Redis with MySQL for inventory reservations and it scaled
adletbalzhanov · Hacker News · 1d ago
US strikes $1.2B deal to pay German firm to halt offshore wind projects
defrost · Hacker News · 2d ago
FCC moves to ban Lidar-equipped foreign drones from US
f-serif · Hacker News · 12h ago
Tom Stanton's supersonic trebuchet breaks sound barrier with gravity alone
Thorondor · Hacker News · 13h ago