Just found this project, I worked on something similar with different architecture that used a mid layer between the LLM and the user's dev environment (language agnostic, they just add a small interpreter) The LLM works with super small token-efficient instructions:
Example:
// x = 10
0.11("x", 10)
// x = x + 5
0.17($x, 5)
0.11("x", $result)
// print x, then stop
0.13($x)
0.1()
These instructions would then be run inside javascript, python, or whatever language (I have a template for generating new interpreters). Very different approach than zerolang but may have some tricks you guys can draw inspiration from for saving tokens.
https://github.com/TolinSimpson/LLMVCS
Just found this project, I worked on something similar with different architecture that used a mid layer between the LLM and the user's dev environment (language agnostic, they just add a small interpreter) The LLM works with super small token-efficient instructions:
Example:
These instructions would then be run inside javascript, python, or whatever language (I have a template for generating new interpreters). Very different approach than zerolang but may have some tricks you guys can draw inspiration from for saving tokens.
https://github.com/TolinSimpson/LLMVCS