https://github.com/zeroflag/warpcore
Tiny Byte Code VM with a self hosted Forth compiler
https://github.com/zeroflag/warpcore
bytecode-interpreter forth minimalist retrocomputing stackmachine virtual-machine vm
Last synced: 10 days ago
JSON representation
Tiny Byte Code VM with a self hosted Forth compiler
- Host: GitHub
- URL: https://github.com/zeroflag/warpcore
- Owner: zeroflag
- License: mit
- Created: 2025-11-26T22:11:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-03T21:17:23.000Z (5 months ago)
- Last Synced: 2026-01-07T15:41:09.642Z (5 months ago)
- Topics: bytecode-interpreter, forth, minimalist, retrocomputing, stackmachine, virtual-machine, vm
- Language: C
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Warpcore

A compact stack-based virtual machine designed for simplicity.
* Stacks: 16-bit cell size for both data and return stacks.
* Instruction Set: 8-bit opcodes and 16-bit addresses.
* Memory: 32 KB of RAM for programs and runtime data.
* Compiler: Self-hosted Forth compiler running directly on the VM.
## Language
```Forth
: SQUARE DUP * ;
ENTRY
" Hello World!" PRINT
CR
3 SQUARE . CR
BYE
```