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