|Erik Zscheile 933c14e80c||7 months ago|
|src||7 months ago|
|.gitignore||7 months ago|
|Cargo.lock||7 months ago|
|Cargo.toml||7 months ago|
|README.md||7 months ago|
|rstc.bfd||7 months ago|
|test.bfd||7 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