The Psycho Compiler & Virtual
Machine is a software product developed by David Lurton. The
Psycho language is a subset of the C++ language, with structure
concepts taken from languages like Java and C#. The virtual
machine is easily embeddable in any software application, and it's
stackless operation makes it ideal for running thousands of threads
simultaneously (similar to UnrealScript and Stackless Python).
The virtual machine supports reference counted garbage
collection. The compiler assists in making it very easy to expose
C++ objects from your application to the virtual machine.
Interfacing with the virtual machine is quite easy and can be done with
a few simple declarations and member calls.
The project currently consists of four actual programs:
- The compiler, which compiles the Psycho source code into capsule
files (.cap).
- The virtual machine, which executes the capsule files and exists
as a library which is compiled into your application
- A test suite, used at the command line for basic testing of the
compiler and virtual machine.
- A test game, used for more extensive testing and proofs of concept
The virtual machine seems to be faily memory efficient and speed has
not been a large issue with the test game as it stands currently.
Documentation
The Psycho language and compiler (HTML, compressed)
The Psycho virtual machine (HTML, compressed)
Downloads:
(come back soon)
Comments, critisism and suggestions may be sent to:
dave@psychogen.com