welcome to jsBFi, a javascript-based
BrainFuck interpreter
man
content
brainfuck?
brainfuck is a esoterical programming language and was invented by urban mueller in 1993.if you want to find out more about it check out the wikipedia article about it, either in german or in english.
top
jsBFi
there are some things you should know about this implementation:- , orders the interpreter to read the first character of the input area labeled std_in and then deletes it; it does not stop and gently wait for you for typing what you want to. thus enter needed characters before you run your program.
- the stack has a size of 30 000 elements; thus if the pointer to the actual points at element 30 000 and you use >, it is set to point at element 1. correspondingly, usage of < when pointing to element 1 results in pointing to element 30 000.
- because jsBFi uses strict xhtml and css as well as javascript and its string-object-methods the characters are encoded in latin-1... you might want to use a code table
- it is strongly recommended to use an up-to-date browser like firefox; at least the internet explorer won't display the site correctly.
- javascript is an interpreted language, thus complex programs are slow. if you are getting disturbed by browser warnings ("script is causing ...") look for a way to tune the browsers maximum runtime for scripts (in firefox for example go to about:config and change dom.max_script_run_time to something appropriate.
top
accessibility
for some actions exists an accesskey, it works usually by pressing control or alt and the key together- r - run the interpreter
- o - toggles the visibility of the options
- m - toggles the visibility of the manual
top
changelog
- 13.12.04: fixed speed issue
- 12.12.04: added configurable log level and access keys.
- 12.12.04: fixed bug that caused trouble with nested loops; got new one. life ain't fair.
- 12.12.04: added std_err
- 11.12.04: first version
top
standards
top
source
log level
std err
std_in
i'll read characters from here