Brain_Fuck/primes.bf

41 lines
1019 B
Brainfuck
Raw Permalink Normal View History

2023-11-20 17:27:26 -05:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //upper bound
[
[>+>+<<-]>>[<<+>>-]<
--
[
+>>[-]<<
<[>>+>+<<<-]>>>[<<<+>>>-]<
>+
[
<
[>>>>>+>+<<<<<<-]>>>>>>[<<<<<<+>>>>>>-]<<<<<<
[
>[-]<<
[>>+>+<<<-]>>>[<<<+>>>-]
<<[>>+>+<<<-]>>>[<<<+>>>-]<
[<->-]<
>>>+<<<
[>>>-<<<[-]]<
-
]
>>>>>[<<<<<+>>>>>-]
<[[-]<<<<<[>->+<<-]>>[<<+>>-]+>]<
]
<<<>>>>>>>+<<<<<<<[>>>>>>>-<<<<<<<[-]]
<--
]
>>>>>>>>>+<[>-<[-]]>
[
-<<<<<<<<<<[>>>>>>>>>>+>+<<<<<<<<<<<-]>>>>>>>>>>>[<<<<<<<<<<<+>>>>>>>>>>>-]<
[>>+>+<<<-]>>>[<<<+>>>-]<<+>[<->[>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>[-]
++++++++[<++++++>-]>[<<+>>-]>[<<+>>-]<<]>]<[->>++++++++[<++++++>-]]<[.[-]<]<
[-]>[-]<
>++++[<+++++++++++>-]<.
------------.
[-]
]
<<<<<<<<<<-
]