Skip to content

buntine/Lisp-Brainfuck-REPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

BRAINFUCK REPL
  by Andrew Buntine, 2009.
  info@andrewbuntine.com

ABOUT
  A very basic brainfuck repl (Read -> Evaluate -> Print -> Loop)
  implemented in Scheme.
  Brainfuck, an esoteric programming language, was originally
  designed by Urban Muller in 1993.

  You will probably notice that it's really more like a REL, as
  brainfuck instructions don't have explicit values.
 
  Main memory is represented as a vector of unrestricted
  length (you decide).
 
  I've added two additional instructions:
    ! : Prints the contents of memory and the instruction
        pointer to stdout.
    @ : Resets all machine state (clears memory, pointers).
 
  Usage (tested with tinyscheme):
      (load "brainfuck_repl.scm")

  To end the REPL, just type Ctrl+c.

FEEDBACK
  This is my first LISP program. Please give me feedback if I've implemented something horrendously. :)

About

A brainfuck REPL implemented in Scheme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages