A 4DChess interpreter in Rust.
Find a file
2022-03-28 10:18:40 -05:00
samples Start work on looping error types 2022-03-11 18:37:40 -06:00
src rustfmt formatting 2022-03-28 10:18:40 -05:00
.gitignore Basic rust 2022-03-06 11:40:40 -06:00
Cargo.lock Utilize for our memory structure 2022-03-06 13:07:30 -06:00
Cargo.toml Utilize for our memory structure 2022-03-06 13:07:30 -06:00
README.md README work 2022-03-06 11:49:17 -06:00
rustfmt.toml Add rustfmt configuration 2022-03-09 17:02:58 -06:00

HyperCube

This is a 4DChess interpreter in Rust.

Motivation

I've been having more and more of an interest in compilers and interpreters, and to start off a little easier, I chose a language that didn't have many instructions and seemed easy to implement. I also wanted to find a language that did not have an implementation yet. 4DChess is largely based off the esoteric language brainfuck.

What is 4DChess

As stated earlier, it is a derivative of brainfuck. There are two main differences.

  • Instead of a 1 dimensional infinite tape, it uses a 4 dimensional 'cube' as memory.
  • There is also an 8 cell limit in any of the 4 directions, giving us 4,096 cells of memory.