Skip to content

Instantly share code, notes, and snippets.

@aziascreations
Created January 17, 2017 22:40
Show Gist options
  • Save aziascreations/ca2d46a8fd1705e96d2414e37bd0568b to your computer and use it in GitHub Desktop.
Save aziascreations/ca2d46a8fd1705e96d2414e37bd0568b to your computer and use it in GitHub Desktop.
> Increment pointer
< Decrement pointer
+ Increment byte at pointer
- Decrement byte at pointer
. Output byte at pointer
, Input byte at pointer
[ Loop start
] Loop end
.s output byte as string
.s{int}
.s{BF value -> ++[>++<-]>. -> .will return the int/byte}
|- > Will output a string
.o{BF .s output for file's path} -> echo * >
.w{BF .s output for file's path} -> echo * >>
,i{BF .s output for file's path}
|- > Will throw an IOException if the file doesn't exist
,u URL ?
.s{,i{.s{BF thingy}}} load file to byte array.
|- > Can throw OutOfBoundsException
# comment / end line parsing
*d{file's path} Delete file/folder ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment