Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jelaas/jelvm
a small virtual machine interpreter
https://github.com/jelaas/jelvm
Last synced: 2 months ago
JSON representation
a small virtual machine interpreter
- Host: GitHub
- URL: https://github.com/jelaas/jelvm
- Owner: jelaas
- Created: 2011-05-05T20:16:26.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-09T11:10:19.000Z (over 13 years ago)
- Last Synced: 2024-04-24T16:14:47.546Z (9 months ago)
- Language: C
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- AwesomeInterpreter - jelvm
README
jelvm is a small virtual machine interpreter.
The aim is to have a small vm that can be targeted by high level language compilers.
Performance is not the first priority. Simplicity is important.
It is possible to call C functions from the vm code.
There is a system call interface for performing kernel system calls.
An assembler is included: see "jelvm_instruction_set.txt" and the as-jelvm program.You can easily include the vm in any C program and execute jelvm code via a simple function call.
Project status: In progress. The 'helloworld.s' program compiles and runs correctly.
Bugs need to be found and corrected. More documentation to write.
Larger example program needed.--------------------------------------------------------------
jelvm [-h] [-v] [-D] [program]
-h display this help
-v verbose
-D debugging information concerning the virtual machinejelvm reads compiled code from or from stdin.
Execution via the #! format is supported.as-jelvm [-h] [-v] [-D]
-h display this help
-v verbose
-D debugging information concerning the assembleras-jelvm reads assembler sourcecode from stdin.
Outputs compiled code to stdout.
Ex: as-jelvm < source.s > prg