I already did a lot of things

This commit is contained in:
vegowotenks 2025-06-18 13:13:41 +02:00
commit cbccc8253b
15 changed files with 719 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{-# LANGUAGE DerivingStrategies #-}
module Language.Brainfuck.Instruction (Instruction(..)) where
import Data.Vector ( Vector )
data Instruction
= Increment
| Decrement
| MoveLeft
| MoveRight
| ReadByte
| PutByte
| Loop (Vector Instruction)
deriving stock (Show, Eq)