Regardless of the programming language being used, the functionality, logic, and efficiency of the language are always paramount — unless, of course, you’re talking about Brainf*ck, an esoteric programming language that champions purposefully overcomplicated code
BrainF.Net provides a flexable library in .NET which allows for error detection and execution of the esoteric Brainf-ck language.
Command | What it does |
---|---|
~ | Adds one empty cell to the memory array |
> | Moves the memory array pointer one to the right |
< | Moves the memory array pointer one to the left |
+ | Adds one to the cell at the memory pointer |
- | Subtracts one from the cell at the memory pointer |
[ | Opens a loop |
] | If the cell's value at the memory pointer is 0, continue (break the loop). Otherwise, return to where the loop was declared |
. | Print a letter to the console where the ASCII value of the letter is the value at the cell at the memory pointer |
, | Read one letter and save the ASCII value of that letter to the cell at the memory pointer |
Go here to learn more.
Go here for examples and an in-depth understanding of how the language works.
To download this magical library, you could clone this repo and include BrainF.csproj in your project, then add a project refrence. Or, you could just download the .dll file from the binaries folder of this repo. To download that file, you can just click here and save yourself a couple seconds of file hunting, or you could go file hunting, if youre into that I guess.
Oh, and also if you want some MD5 checksum hashes or whatever, here they are:
Algorithm | Hash |
---|---|
SHA-256 | 4AF7C52AEF6DE92205CEA32EC387C1B3C9EC071D1A92D454BA12C538BDCA7190 |
SHA-1 | 3661A4EEE7FA88AA976E08E434890B44521A4D73 |
MD5 | EAD6BCDF62AF47B7C97D82783668078F1 |
Algorithm | Hash |
---|---|
SHA-256 | 9A58FAFADD46166F60B97113EE7B1E6EA005E5A082AD80C6CB26C7164B27BF4E |
SHA-1 | 6A9B0A00CBBDFBF25222AFB64CD2C16003B7493D |
MD5 | 3E5F2DC53FEB21C0BB2CF3BDF1EAFCC0 |