![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8aead832-799f-4d34-a20d-eae5b621a9b1.jpeg)
My first thought is that you could write a program that does something like this:
- Receive prompt “how many times does R appear in the word ‘strawberry’”
- Run the prompt through LLM saying “reword the following into a command to generate code that will answer the question” or something like that
- Run the results through LLM
- Compile and run the results
- Provide the output to the user
Of course, the biggest problem with this system is that a person could fool it into generating malicious code.
We don’t! When I was younger I had a theory that the brain is a 3D representation of an organ that exists in a higher dimension. Granted, I had (and still have) no relevant expertise to properly speculate on how that could work, but it was fun to think about.