https://github.com/kcreate/c-stackvm
C Implementation of my StackVM.
https://github.com/kcreate/c-stackvm
virtual-machine
Last synced: 9 months ago
JSON representation
C Implementation of my StackVM.
- Host: GitHub
- URL: https://github.com/kcreate/c-stackvm
- Owner: KCreate
- Created: 2017-05-04T20:36:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-14T13:22:26.000Z (over 8 years ago)
- Last Synced: 2025-05-09T18:56:55.589Z (9 months ago)
- Topics: virtual-machine
- Language: C
- Homepage: https://github.com/KCreate/stackvm
- Size: 106 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Virtual Machine
This is a C implementation of my [original StackVM](https://github.com/KCreate/stackvm)
which is written in Crystal. It serves as a way of learning C, while learning more and more
about virtual machines in general.
## Installation
```bash
git clone https://github.com/KCreate/c-stackvm
make vm
bin/vm
```
## Usage
Keep in mind, this repository only contains the virtual machine. To generate an executable
for it, you will need the assembler from my
[original repository](https://github,com/KCreate/stackvm) written in Crystal.
```bash
bin/vm myprogram.bc
```
## Contributing
1. Fork it ( https://github.com/KCreate/c-stackvm/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [KCreate](https://github.com/KCreate) Leonard Schuetz - creator, maintainer