An open API service indexing awesome lists of open source software.

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

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