From d083075003f21da9283f5590e4b367ab66e95d92 Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Thu, 26 Oct 2023 14:27:15 +0200 Subject: [PATCH] Adding examples --- hello_world.bf => Examples/hello_world.bf | 0 Examples/life.bf | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+) rename hello_world.bf => Examples/hello_world.bf (100%) create mode 100644 Examples/life.bf diff --git a/hello_world.bf b/Examples/hello_world.bf similarity index 100% rename from hello_world.bf rename to Examples/hello_world.bf diff --git a/Examples/life.bf b/Examples/life.bf new file mode 100644 index 0000000..524ce52 --- /dev/null +++ b/Examples/life.bf @@ -0,0 +1,21 @@ + +>>>->+>+++++>(++++++++++)[[>>>+<<<-]>+++++>+>>+[<<+>>>>>+<<<-]<-]>>>>[ + [>>>+>+<<<<-]+++>>+[<+>>>+>+<<<-]>>[>[[>>>+<<<-]<]<<++>+>>>>>>-]<- +]+++>+>[[-]<+<[>+++++++++++++++++<-]<+]>>[ + [+++++++++.-------->>>]+[-<<<]>>>[>>,----------[>]<]<<[ + <<<[ + >--[<->>+>-<<-]<[[>>>]+>-[+>>+>-]+[<<<]<-]>++>[<+>-] + >[[>>>]+[<<<]>>>-]+[->>>]<-[++>]>[------<]>+++[<<<]> + ]< + ]>[ + -[+>>+>-]+>>+>>>+>[<<<]>->+>[ + >[->+>+++>>++[>>>]+++<<<++<<<++[>>>]>>>]<<<[>[>>>]+>>>] + <<<<<<<[<<++<+[-<<<+]->++>>>++>>>++<<<<]<<<+[-<<<+]+>->>->> + ]<<+<<+<<<+<<-[+<+<<-]+<+[ + ->+>[-<-<<[<<<]>[>>[>>>]<<+<[<<<]>-]] + <[<[<[<<<]>+>>[>>>]<<-]<[<<<]]>>>->>>[>>>]+> + ]>+[-<<[-]<]-[ + [>>>]<[<<[<<<]>>>>>+>[>>>]<-]>>>[>[>>>]<<<<+>[<<<]>>-]> + ]<<<<<<[---<-----[-[-[<->>+++<+++++++[-]]]]<+<+]> + ]>> +]