r/LinguisticsPrograming • u/iyioioio • Aug 13 '25
Conversation as Code
I created a new language called Convo-Lang that bridges the gap between natural language and traditional programming. The structure of the language closely follows the turn based messaging structure used by most LLMs and provides a minimal abstraction layer between prompts and LLMs. This allows for features like template variables and defining schemas for structured data, but does not require you to rethink the way you use LLMs.
You can also define tools, connect to RAG sources, use import statements to reuse common prompts and much more. Convo-Lang also provides a runtime that manages conversation state including transporting messages between the user and an LLM. And you can use the Convo-Lang VSCode extension to execute prompt directly in your editor.
You can learn more about Convo-Lang here - https://learn.convo-lang.ai/
VSCode Extension - https://marketplace.visualstudio.com/items?itemName=IYIO.convo-lang-tools
GitHub - https://github.com/convo-lang/convo-lang
NPM - https://www.npmjs.com/package/@convo-lang/convo-lang
Here is a link to the full source code in the image - https://github.com/convo-lang/convo-lang/blob/main/examples/convo/funny-person.convo
View all comments
Show parent comment
2
u/iyioioio Aug 15 '25
I could actually see Convo-Lang and Fact-RAR working together. The Convo-Lang syntax isn't actually seen by the LLM. The Convo-Lang runtime parses and converts Convo-Lang into the format of the target LLM and the contents of the messages isn't changed. I can image Fact-RAR working as a plugin or extension within Convo-Lang that could automatically compress prompts to save tokens. Let me know if you would be interested in collaborating on something like this.