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.
#! 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.
To build the executable you must have cargo and rust installed.
cargo build --release
To run using the bytecode VM:
tape <filename>
Using the JIT compiler:
tape --jit <filename>
The flag --verbose
(or -v) outputs additional information:
[Using JIT compiler]
Hello World!
MIT License
Copyright © 2024 Gabriel Pacheco