Skip to content

A cell-based esoteric programming language with a JIT compiler

License

Notifications You must be signed in to change notification settings

gabrielpacheco23/tape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <filename> 

Using the JIT compiler:

tape --jit <filename>

The flag --verbose (or -v) outputs additional information:

[Using JIT compiler]

Hello World!

License

MIT License

Copyright © 2024 Gabriel Pacheco

About

A cell-based esoteric programming language with a JIT compiler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published