Recently Written · git

LispBrain

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.

git clone https://github.com/equwal/LispBrain

Log | Files | Refs


commit 6da02567815cf2b6b68531e7df321515103c9d44
Spenser Truex <struex0@gmail.com>
2016-02-14 10:24:08 -0800

Decided not to export global variables

 interpreter.lisp | 1 +
 packages.lisp    | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/interpreter.lisp b/interpreter.lisp
index 896889a..ee9fe84 100644
--- a/interpreter.lisp
+++ b/interpreter.lisp
@@ -150,6 +150,7 @@
 	  (open-loop-at-zero () (setf position
 				      (1- (skip-loop position)))))
      do (setf position (1+ position))))
+
 (defun interpret (brainfuck-string)
   "Interpret the brainfuck"
   (reset-globals)
diff --git a/packages.lisp b/packages.lisp
index 29a4ce0..357ffde 100644
--- a/packages.lisp
+++ b/packages.lisp
@@ -7,8 +7,6 @@
 ;;;; THE BRAINFUCK SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THIS BRAINFUCK SOFTWARE OR THE USE OR OTHER DEALINGS IN THIS BRAINFUCK SOFTWARE.
 (defpackage :cl-brainfuck
   (:use :cl)
-  (:export :interpret
-	   :*ascii*
-	   :*operators*))
+  (:export :interpret))