How inputoutputstream/thevmproject works
THOTH_VM is a small C virtual-machine prototype. Its demonstrated workflow is: the executable entry point allocates a VM, builds a sample instruction stream, runs it through the execution loop and opcode dispatcher, then prints memory. The header defines the VM state and instruction set; the C file implements the runtime. The README is empty, so this map reflects only the sampled source and does not infer additional capabilities.
Main entry points: THOTH_VM.c Executable entry · THOTH_VM.h VM memory
Components 11
VM runtime
- Executable entry
THOTH_VM/THOTH_VM.c - Opcode sizing
THOTH_VM/THOTH_VM.c - Execution loop
THOTH_VM/THOTH_VM.c - Instruction dispatch
THOTH_VM/THOTH_VM.c - MOV and halt
THOTH_VM/THOTH_VM.c - Error handling
THOTH_VM/THOTH_VM.c
Program and state
- VM state
THOTH_VM/THOTH_VM.h - VM allocation
THOTH_VM/THOTH_VM.c - Sample program builder
THOTH_VM/THOTH_VM.c - VM memory
THOTH_VM/THOTH_VM.h
Other components
- Program user
Connections 14
- Program user → Executable entry: runs
THOTH_VM/THOTH_VM.c - Executable entry → VM allocation: allocates
THOTH_VM/THOTH_VM.c - Executable entry → Sample program builder: builds
THOTH_VM/THOTH_VM.c - Executable entry → Execution loop: runs
THOTH_VM/THOTH_VM.c - Executable entry → VM memory: prints
THOTH_VM/THOTH_VM.c - VM allocation → VM state: allocates
THOTH_VM/THOTH_VM.c - Sample program builder → Opcode sizing: gets sizes
THOTH_VM/THOTH_VM.c - Sample program builder → VM memory: writes program
THOTH_VM/THOTH_VM.c - Execution loop → Opcode sizing: gets size
THOTH_VM/THOTH_VM.c - Execution loop → Instruction dispatch: dispatches
THOTH_VM/THOTH_VM.c - Instruction dispatch → Opcode sizing: gets size
THOTH_VM/THOTH_VM.c - Instruction dispatch → MOV and halt: dispatches
THOTH_VM/THOTH_VM.c - Instruction dispatch → Error handling: signals fault
THOTH_VM/THOTH_VM.c - MOV and halt → Error handling: halts via
THOTH_VM/THOTH_VM.c