https://github.com/gabrielpacheco23/tape
A cell-based esoteric programming language with a JIT compiler
https://github.com/gabrielpacheco23/tape
brainfuck esoteric-language jit programming-language rust tape
Last synced: 5 months ago
JSON representation
A cell-based esoteric programming language with a JIT compiler
- Host: GitHub
- URL: https://github.com/gabrielpacheco23/tape
- Owner: gabrielpacheco23
- License: mit
- Created: 2021-10-25T00:06:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-15T21:16:38.000Z (over 1 year ago)
- Last Synced: 2025-04-10T05:57:01.780Z (about 1 year ago)
- Topics: brainfuck, esoteric-language, jit, programming-language, rust, tape
- Language: Rust
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tape
## A cell-based esoteric programming language with JIT compilation
Tape is a cell-based, brainfuck-like programming language which features both a JIT compiler and a bytecode VM with a non-wasted array-like structure to manage memory.
## Example
```
#! This program outputs the letter A and a newline character
make tape[2]
make ptr: idx
incr tape[ptr]
+64
putch
incr ptr
incr tape[ptr]
+9
putch
```
Check the examples folder for other implementations using loops.
## Build
To build the executable you must have cargo and rust installed.
```
cargo build --release
```
## Usage
To run using the bytecode VM:
```
tape
```
Using the JIT compiler:
```
tape --jit
```
The flag ```--verbose``` (or -v) outputs additional information:
```
[Using JIT compiler]
Hello World!
```
## License
MIT [License](LICENSE)
Copyright © 2024 Gabriel Pacheco