Browse Source

add functions, and somes operators

master
miggazElquez 3 years ago
parent
commit
27fff15972
  1. 57
      op.bf

57
op.bf

@ -0,0 +1,57 @@
COMPAR :
========
<[
>[->+>+<<]>>[-<<+>>] on copie
+<[>-<[-]] on teste
>[->+>+<<]>>[-<<+>>]
<[<<<<[-]+>+>>>-] si le test est valide on efface
<<<-<-on finit la boucle
]
{add the last part}
EQUALS :
+>[<->[-]]>>[<<<->>>-]<<<
DIFFERENT :
>[<+>[-]]>>[<<<+>>>-]<<<
GREATER :
>>>[<<<+>>>-]<<<
GREATER OR EQUALS :
+>[<->[-]]<
SMALLER :
>[<+>[-]]<
SMALLER OR EQUALS :
+>>>[<<<->>>-]<<<
MUL :
=====
<[->>+<<]>[->[-<<+>>>+<]>[-<+>]<<]>[-]<<
DIV :
=====
[->+>>+<<<]
<[->+>>+<<<]
>>>
[>[->+>+<<]>>[-<<+>>]+<[>-<[-]]>[->+>+<<]>>[-<<+>>]<[<<<<[-]+>+>>>-]<<<-<-]+>[<->[-]]<
[
-<[-<->>+<]>[-<+>]
<<<+>
[->>+>+<<<]>>>[-<<<+>>>]<<
[->>+>+<<<]>>>[-<<<+>>>]<
<[>[->+>+<<]>>[-<<+>>]+<[>-<[-]]>[->+>+<<]>>[-<<+>>]<[<<<<[-]+>+>>>-]<<<-<-]>>>[<<<+>>>-]<<<
]
<[-]<[-]<
Loading…
Cancel
Save