Home page Sep 23 2000 |
What it doesbf is a really minimalist language. It only has 8 instructions,
with no parameters. Call it a RISC with a 3-bit instruction set if
you want. Licence infobf is released under the terms of the GNU General Public License, which basically means that the source file is freely available, and that everybody can read it, modify it, improve it and distribute improved versions. This also means that it comes with ABSOLUTELY NO WARRANTY Features
What does a bf program look like?This implementation of bf uses a one-dimentional
infinite memory of 64-bit memory cells. Here are the
instructions, where p is the pointer to the current cell,
and m is the value under the pointer. Here's a program (a basic implementation of Hello, World!) : ++++++++++++++++ ++++++++++++++++ ++++++++++++++++ ++++++++++++++++ ++++++++ . ++++++++ ++++++++++++++++ +++++ . +++++++ . . +++ . --------------- ---------------- ---------------- ---------------- ---- . ------------ . ++++++++++++++++ ++++++++++++++++ ++++++++++++++++ +++++++ . +++++++++ +++++++++++++++ . +++ . ------ . -------- . ---- ---------------- ---------------- ---------------- --------------- . ---------------- ------- . Version history
Download |