|Erik Zscheile 933c14e80c||2 months ago|
|src||2 months ago|
|.gitignore||2 months ago|
|Cargo.lock||2 months ago|
|Cargo.toml||2 months ago|
|README.md||2 months ago|
|rstc.bfd||2 months ago|
|test.bfd||2 months ago|
Brainfuck with pointer indirection. It uses relative addressing because otherwise, the higher parts of the tape would be unreachable once indirection is used.
BF befinde [ *[& ] *]& . *.& , *,& > > < < + *>& - *<&
I'm not completely sure if this translation is correct, because indirection with relative addressing complicates things. The translation doesn't account for side effects (like modifying a cell which is dereferenced).
*& is a NOP.
&* is a NOP most of the time, except when the
& would trigger
a panic because it would decrease the indirection to