Skip to content

A toy brainfuck implementation using CHICKEN scheme

Notifications You must be signed in to change notification settings

jjbarr/chicken-brainfuck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHICKEN Brainfuck

NOTE: this version requires both vector-lib, and anaphora. This is my fork of the CHICKEN brainfuck interpreter by Federico Ramirez, aka gosukiwi. I'm cleaning it up a bit, but it basically has the same structure of the original. This is an interactive interpreter for the Brainfuck programming language.

Usage

Simple enough. Just execute the /usr/bin/brainfuck executable.

Build from source

To build, you'll need the CHICKEN Scheme compiler. Just follow the instructions, get the compiler, navigate to the repo and run chicken-install -s.

git clone [email protected]:qwertyuiop924/chicken-brainfuck.git
cd chicken-brainfuck
chicken-install && brainfuck
Welcome to CHICKEN Brainfuck!
brainfuck>

Done! Your interpreter lives in /usr/bin/brainfuck (or possibly elsewhere, depending on how your chicken install has been configured). This has only been tested on Linux (Archlinux, with chicken 4.10.0).

##Non-standard Syntax *% sets all cells to 0 *! exits, returning zero

TODO

  • reset function maybe? Just something to type and be able to reset the state
  • add support for script running
  • add support for brainfork extensions (when running a script)

About

A toy brainfuck implementation using CHICKEN scheme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scheme 100.0%