Skip to content

Instantly share code, notes, and snippets.

@TheLie0
Last active July 6, 2018 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheLie0/16ce4715f8b816a94437d7136019d8d9 to your computer and use it in GitHub Desktop.
Save TheLie0/16ce4715f8b816a94437d7136019d8d9 to your computer and use it in GitHub Desktop.
>,
[[<+> set our "check value" to 1;
--------------------------------- if its not a !
[---------- if its not a plus
[- if its not a comma
[- if its not a minus
[- if its not a full stop
[-------------- if its not a less than
[-- if its not a greater than
[----------------------------- if its not a open sqare bracket
[-- if its not a closed squrae bracket
[<-]>[>]<[-]< if its none of the above: delet this
else (open sq bracket){
[>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<->
+[->>+<<]<
]>
}
]<[-> else (open sq bracket){
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (greater than){
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (less than){
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (full stop){
++++++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (minus){
+++++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (comma){
++++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (plus){
+++++++++++++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (!){
+++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
]<[->else (!){
+++++++++++++++++++++++++++++++++
>+[->>+<<]<
<]>}
,]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment