I was a little bored today and I started to google how the Python Virtual Machine works. I found a bunch of helpfull articles and kind of understand at least some of the very basic PVM code using the modules py_compile and dis. I was wondering how to write the actual PVM code to a file (without writing python code to a file and compiling it with py_compile) if i wanted to generate PVM code from another language - kind of like jython and the java interpreter. Ill probably just use it to implement a simple language like brainfsck but maybe branch out if I can/have the willpower. If anybody knows or at least can help point me in the right direction your help will be greatly apreciated.
EAnder 16 Light Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
BearofNH 104 Posting Whiz
Gribouillis 1,391 Programming Explorer Team Colleague
EAnder 16 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.