![]() |
|||||||||||||||||||||||||||||||||||||
|
Quick Links
HomeDownloadPurchaseSupportSite MapPublic ForumsWhen I'm Bored UtilitiesDHTML Menu BuilderDHTML Menu Builder DEDHTML Menu Builder LITEKeyLaunchSoftLedsNice FoldersFile Extension ManagerNetToolsxFXMixerPopUp KillerAPE for Traktor Pro .NET ControlsDXVUMeterNETMixerProNET ActiveX ControlsDXVU MeterMixerProFormShaperxFX Slider GamesxFX Domino |
According to Wikipedia, Urban Müller created brainfuck in 1993 with the intention of designing a language which could be implemented with the smallest possible compiler [1], inspired by the 1024 byte compiler for the FALSE programming language. Several brainfuck compilers have been made smaller than 200 bytes. The classic distribution is Müller's version 2, containing a compiler for the Amiga, an interpreter, example programs, and a readme document. The language consists of eight commands, listed below. A brainfuck program is a sequence of these commands, possibly interspersed with other characters (which are ignored). The commands are executed sequentially, except as noted below. CommandsThe eight language commands, each consisting of a single character, are the following:
(Alternatively, the ] command may instead be translated as an unconditional jump to the corresponding [ command, or vice versa; programs will behave the same but will run more slowly.) So, VBBrainFNET is simply and IDE to aid in the development and debugging of brainfuck programs.
Known bugs:
Benchmarks as of version 1.0.2944 A recently found a very nice and simple program, apparently developed by GreaseMonkey, that could be used to benchmark BrainFuck compilers: ++++++++[->-[->-[->-[-]<]<]<] >++++++++[<++++++++++>-]<[>+>+<<-]>-.>-----.> So I used in the latest version of VBBrainFNet and here are the results (compred to some other popular compilers and interpreters):
GreaseMonkey's compiler is a lot faster, being able to run the benchmarking code is less than 2 seconds but you cannot edit, debug, trace or do anything else other than run a brainfuck program and watch its output. Also, his compiler fails to run complex programs such PI16.b (to calculate PI) and mandelbrot.bf (used to display a fractal image). Both brainfuck programs, and many more, are included with VBBrainFNet. I have to admit that the current code editor in VBBrainFNet is quite buggy, unstable and slow which kind of makes the application a plain compiler but, as i said before, this is something I plan on addressing pretty soon. Other BrainFuck compilers |
|
|||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||