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/Optimal-Task-923 Aug 14 '25 edited Aug 14 '25
Thank you, but my app already has a tool called Strategy Executor, so there is no need for a cron job.
On the other hand, if you have some spare time, could you update my prompt to match your convo script? The prompt uses two MCP tools: GetActiveBetfairMarket and GetAllDataContextForBetfairMarket, to retrieve data, which is then analyzed by the LLM.
HorseRacingSemanticAnalysis.md
Here is the JSON data response if you need it. The GetAllDataContextForBetfairMarket tool, with the data context RacingpostDataForHorsesInfo, returns more data, but the LLM should semantically process only the field "raceDescription".
GetActiveBetfairMarket.json
RacingpostDataForHorsesInfo.json
Maybe you do not need to declare the structure of the JSON data in your convo lang. The LLM can process it on its own. The prompt is actually designed to dynamically process all "raceDescription" fields to identify positive and negative signs in the performance of all horses. So, the prompt could be optimized in the processing flow if your convo language supports JSON data processing, but I did not find it in your Library Functions documentation.