Is it possible to create a new language for a Python virtual machine? I read http://late.am/post/2012/03/26/exploring-python-code-objects , where a blogger discusses Python code objects. In it, he discusses the disassembly of a code object into bytecode and what the characters mean in it.
It made me think there might be alternative ways to build this bytecode. I was wondering how to create an isolated language in Python bytecode so that Python can load it. Using Python itself for the sandbox seems almost unusable, but that seems to make the way for another implementation language.
Where would I start if I wanted to continue this venture? What could be a better approach, and where can I find more on other approaches?
source
share