Last active
July 6, 2018 14:11
-
-
Save TheLie0/16ce4715f8b816a94437d7136019d8d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>, | |
[[<+> 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