Adding examples
This commit is contained in:
28
Examples/hello_world.bf
Normal file
28
Examples/hello_world.bf
Normal file
@ -0,0 +1,28 @@
|
||||
+++++ +++
|
||||
[
|
||||
>++++
|
||||
[
|
||||
>++
|
||||
>+++
|
||||
>+++
|
||||
>+
|
||||
<<<<-
|
||||
]
|
||||
>+
|
||||
>+
|
||||
>-
|
||||
>>+
|
||||
[<]
|
||||
|
||||
<-
|
||||
]
|
||||
|
||||
>>.
|
||||
>---.
|
||||
+++++ ++..+++.
|
||||
>>.
|
||||
<-.
|
||||
<.
|
||||
+++.----- -.----- ---.
|
||||
>>+.
|
||||
>++.
|
21
Examples/life.bf
Normal file
21
Examples/life.bf
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
>>>->+>+++++>(++++++++++)[[>>>+<<<-]>+++++>+>>+[<<+>>>>>+<<<-]<-]>>>>[
|
||||
[>>>+>+<<<<-]+++>>+[<+>>>+>+<<<-]>>[>[[>>>+<<<-]<]<<++>+>>>>>>-]<-
|
||||
]+++>+>[[-]<+<[>+++++++++++++++++<-]<+]>>[
|
||||
[+++++++++.-------->>>]+[-<<<]>>>[>>,----------[>]<]<<[
|
||||
<<<[
|
||||
>--[<->>+>-<<-]<[[>>>]+>-[+>>+>-]+[<<<]<-]>++>[<+>-]
|
||||
>[[>>>]+[<<<]>>>-]+[->>>]<-[++>]>[------<]>+++[<<<]>
|
||||
]<
|
||||
]>[
|
||||
-[+>>+>-]+>>+>>>+>[<<<]>->+>[
|
||||
>[->+>+++>>++[>>>]+++<<<++<<<++[>>>]>>>]<<<[>[>>>]+>>>]
|
||||
<<<<<<<[<<++<+[-<<<+]->++>>>++>>>++<<<<]<<<+[-<<<+]+>->>->>
|
||||
]<<+<<+<<<+<<-[+<+<<-]+<+[
|
||||
->+>[-<-<<[<<<]>[>>[>>>]<<+<[<<<]>-]]
|
||||
<[<[<[<<<]>+>>[>>>]<<-]<[<<<]]>>>->>>[>>>]+>
|
||||
]>+[-<<[-]<]-[
|
||||
[>>>]<[<<[<<<]>>>>>+>[>>>]<-]>>>[>[>>>]<<<<+>[<<<]>>-]>
|
||||
]<<<<<<[---<-----[-[-[<->>+++<+++++++[-]]]]<+<+]>
|
||||
]>>
|
||||
]
|
Reference in New Issue
Block a user