add functions, and somes operators
This commit is contained in:
parent
f57187515f
commit
27fff15972
1 changed files with 57 additions and 0 deletions
57
op.bf
Normal file
57
op.bf
Normal file
|
@ -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…
Add table
Reference in a new issue