Thursday, 19 November 2020
BrainFuck
Brainfuck is <>+-[],. I think.
R is the current register, an integer.
*R is the register at R.
< - mov to the left, increment R
> - move to the right, decriment R
+ + increment ring/register at R
- - decrement register/ring at R
[ - start loop, loop continues if *R is non-zero
] - end loop, loop continues if *R is non-zero
, - output register
. - read into register
! - initialize register, set to zero
? - deallocate register, add to free pool
Brainfuck is a Turing Machine with more than 1 bit per place.
Any character tht is not in the above set is passed through.
That means this is a legal brainfuck document.
Who knows what it computes though.
Let's find out.
X
Subscribe to:
Post Comments (Atom)
Latin Rap (Saphion Assembly)
I made up Latin Rap. Wanna hear some? mova sita nope trie What that does I have no idea. But I know what it does as a programming languag...
-
Welcome to the Quill Language blog, a place where I share and discuss a language I am working on titled 'quill'. It is a Common Li...
-
A pick is a Markoff Chain. I am not a piack in Clarity. x is a b c and d is a list in Clarity. y is a b c or d is a pick in Clarity. x w...
-
Brainfuck is +-[],. I think. R is the current register, an integer. *R is the register at R. - move to the right, decriment R + + increme...
No comments:
Post a Comment