git/LispBrain/commit/11ebf18ae048458f5b8c2f782823eccf2c4e428e.html (4146 bytes)
1 <!DOCTYPE html> 2 <html lang="en"><head><meta charset="UTF-8" /> 3 <meta name="viewport" content="width=device-width, initial-scale=1" /> 4 <title>LispBrain 11ebf18a - Recently Written</title> 5 <link rel="stylesheet" href="../../stagit.css" /> 6 </head><body> 7 <div id="top"><a href="../../../index.html">Recently Written</a> · <a href="../../index.html">git</a></div> 8 <h1>LispBrain</h1><span class="desc">The best Brainfuck debugger available, if you know how the Common Lisp debugger works. Uses Common Lisp's ease of debugging to make debugging Brainfuck code easy. Almost entirely useless.</span><p class="url">git clone https://github.com/equwal/LispBrain</p><p><a href="../../LispBrain/index.html">Log</a> | <a href="../../LispBrain/files.html">Files</a> | <a href="../../LispBrain/refs.html">Refs</a></p><hr/> 9 <div id="content"> 10 <pre>commit 11ebf18ae048458f5b8c2f782823eccf2c4e428e 11 Spenser Truex <spensertruexonline@gmail.com> 12 2016-02-16 16:48:41 -0800 13 14 Pretty debugging comments 15 </pre><pre> README.md | 26 +++++++++++++------------- 16 1 file changed, 13 insertions(+), 13 deletions(-) 17 </pre><pre>diff --git a/README.md b/README.md 18 index 2618f76..ad06867 100644 19 --- a/README.md 20 +++ b/README.md 21 <span class="h">@@ -58,20 +58,20 @@ If everything runs smoothly you will be ready to Brainfuck. If there are issues</span> 22 23 Debugging Brainfuck code can be done using all the normal Common Lisp functions: `step`, `trace`, `time`, etc. The following functions and variables are exported to the user and may be useful for debugging Brainfuck code: 24 ``` 25 <span class="d">-brain:fuck ;Used to execute a Brainfuck string directly.</span> 26 <span class="a">+brain:fuck ;Used to execute a Brainfuck string directly.</span> 27 brain:*tape-size-default* ;Number of cells in the tape. Default: 30,000. 28 <span class="d">-brain:decf-byte ;The - operator function.</span> 29 <span class="d">-brain:incf-byte ;The + operator function.</span> 30 <span class="d">-brain:read-this-byte ;The , operator function.</span> 31 <span class="d">-brain:print-this-byte ;The . operator function.</span> 32 <span class="d">-brain:right-shift ;The > operator function.</span> 33 <span class="d">-brain:left-shift ;The < operator function.</span> 34 <span class="d">-brain:one-off-fuck ;Function called to loop over each character in the code.</span> 35 <span class="d">-brain:*separators* ;Characters that terminate #F Brainfuck code. Default: (#\Space, #\Newline).</span> 36 <span class="d">-brain:byte-value ;Returns the value of the curren byte at the *pointer* position.</span> 37 <span class="d">-brain:*tape* ;Returns the entire tape.</span> 38 <span class="d">-brain:*pointer* ;The current position in the byte tape. Useful with byte-value. </span> 39 <span class="d">- Default: Exactly in the middle of the tape (15,000).</span> 40 <span class="a">+brain:decf-byte ;The - operator function.</span> 41 <span class="a">+brain:incf-byte ;The + operator function.</span> 42 <span class="a">+brain:read-this-byte ;The , operator function.</span> 43 <span class="a">+brain:print-this-byte ;The . operator function.</span> 44 <span class="a">+brain:right-shift ;The > operator function.</span> 45 <span class="a">+brain:left-shift ;The < operator function.</span> 46 <span class="a">+brain:one-off-fuck ;Function called to loop over each character in the code.</span> 47 <span class="a">+brain:*separators* ;Characters that terminate #F Brainfuck code. Default: (#\Space, #\Newline).</span> 48 <span class="a">+brain:byte-value ;Returns the value of the curren byte at the *pointer* position.</span> 49 <span class="a">+brain:*tape* ;Stores the entire tape.</span> 50 <span class="a">+brain:*pointer* ;Stores the current position in the byte tape. Useful with byte-value. </span> 51 <span class="a">+ Default: Exactly in the middle of the tape (15,000).</span> 52 ``` 53 Note that the variables `*tape*` and `*pointer*` are reset upon executing new Brainfuck code. Once the execution is finished their state is frozen in time and ready to be viewed. 54 </pre> 55 </div></body></html>