Skip to content

memelang-net/memesql11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Memelang v11

Memelang is an AI-optimized query language that significantly reduces token count for LLM text-to-SQL pipelines:

  1. LLM emits low-token Memelang queries
  2. memelang.py expands Memelang to SQL queries
  3. Database executes SQL queries

Example

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

Files

  • memelang.py main library for parsing Memelang and converting to SQL
  • train/ contains example natural language to Memelang conversions for LLM training.

Links

Legal

©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.

About

Memelang is an AI-optimized query language that significantly reduces token count for LLM text-to-SQL pipelines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages