Skip to content

RedFoxMain/EBrainFuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EBrainFuck

EBrainFuck - Extended BrainFuck Interpreter have two mods read code from file or interactive.
BrainFuck <file|inter> [-m]
file - BF wil read code from file
inter - interactive mode you can exit intractive mod using ex
-m - optional flag for printing memory and stack

OP Action
+ Increase the byte at the current memory cell
- Decrease the byte at the current memory cell
> Move ptr to right
< Move ptr to left
[ If byte at the current mem cell is zero move to ]
] If byte at the current mem cell is non zero move to [
. Print current mem cell value as char
, Input char
: Print current mem cell value as integer
; Input value as Byte
# Copy value of current mem cell to top of the stack
$ Put value from top of the stack to current mem cell
! Pop value from stack

Operation : ; # $ - i got from mobile app

About

Extended BrainFuck Interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published