A rather slow [Boolfuck
] interpreter, in case you want to help me make this more efficient go to the [corresponding github page].
For tips/tutorials concerning [Boolfuck
] visit the official homepage. It is also possible to translate [Brainfuck
] in [Boolfuck
] code with this crate.
Details
-
Input is taken from the console and the
end of line
character is removed, because now programs written withint getchar()
*( a function inc
)* in mind work correctly.([The Lost Kingdom
] for example) This causes problems with other programs which rely onnull terminated
strings or theend of line
character. -
The commands
,
and;
both work in little-endian order. -
This crate is a a lot faster when run with
--release
!
Remarks
- If you have created a better [
boolfuck
] interpreter I would not mind to transfer this name to you. [Boolfuck
]:http://samuelhughes.com/boof/ [Brainfuck
]:https://en.wikipedia.org/wiki/Brainfuck [The Lost Kingdom
]:http://web.archive.org/web/20111031121638/http://jonripley.com/i-fiction/games/LostKingdomBF.html [corresponding github page]:https://github.com/Nijaitchy/boolfuck/