OBFI

Brainfuck Interpreter
git clone http://git.omkov.net/OBFI
Log | Tree | Refs | README | LICENCE | Download

AuthorJakob Wakeling <[email protected]>
Date2020-08-17 11:37:29
Commit37f84322bc45b4d334e25dc4da14688c21be9155
Parent0743acd7d064e99c24cf4b38b3adac639eda858d

Update interpreter details in README

Diffstat

M README.md | 6 ++++--

1 files changed, 4 insertions, 2 deletions

diff --git a/README.md b/README.md
index fa44a13..cb00937 100644
--- a/README.md
+++ b/README.md
@@ -8,8 +8,8 @@ The OMKOV Brainfuck Interpreter (OBFI) is a minimal Brainfuck interpreter.
 
 * OBFI uses single octet cells, and arithmetic wraps around.
 * OBFI provides 30000 cells.
-* OBFI will segfault if a program moves outside the array bounds.
-* OBFI will sets the current cell to -1 when EOF is input.
+* OBFI does not perform array bound checking.
+* OBFI will set the current cell to EOF when EOF is encountered.
 
 ## Optimisations
 
@@ -17,6 +17,8 @@ The OMKOV Brainfuck Interpreter (OBFI) is a minimal Brainfuck interpreter.
 * Compress `+` and `-` instructions.
 * Replace `[+]` and `[-]` with a 'set to zero' instruction.
 * Replace `[>]` and `[<]` with a 'go to zero' instruction.
+* Replace `[+>+>]` and `[>+>+]` with a 'move to' instruction.
+* Replace `[-<-<]` and `[<-<-]` with a 'move to' instruction.
 
 ## Build Instructions