Skip to content

Instantly share code, notes, and snippets.

@sirius94
sirius94 / Brainfuck.hs
Last active Apr 6, 2017
Brainfuck Interpreter in Haskell
View Brainfuck.hs
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NamedFieldPuns #-}
module Brainfuck
( evalString
) where
import Control.Monad
import Data.Char (chr, ord)
import Data.Maybe