module Language.Brainfuck.Examples where
helloWorld, bottles, helloum, sort, toupper :: String
helloWorld :: String
helloWorld =
String
">+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-]"forall a. [a] -> [a] -> [a]
++
String
"<.#>+++++++++++[<+++++>-]<.>++++++++[<+++>-]<.+++.------.--------.[-]>++++++++["forall a. [a] -> [a] -> [a]
++
String
"<++++>-]<+.[-]++++++++++."
bottles :: String
bottles =
String
"99 Bottles of Beer in Urban Mueller's BrainF*** (The actual"forall a. [a] -> [a] -> [a]
++
String
"name is impolite)"forall a. [a] -> [a] -> [a]
++
String
""forall a. [a] -> [a] -> [a]
++
String
"by Ben Olmstead"forall a. [a] -> [a] -> [a]
++
String
""forall a. [a] -> [a] -> [a]
++
String
"ANSI C interpreter available on the internet; due to"forall a. [a] -> [a] -> [a]
++
String
"constraints in comments the address below needs to have the"forall a. [a] -> [a] -> [a]
++
String
"stuff in parenthesis replaced with the appropriate symbol:"forall a. [a] -> [a] -> [a]
++
String
""forall a. [a] -> [a] -> [a]
++
String
"http://www(dot)cats(dash)eye(dot)com/cet/soft/lang/bf/"forall a. [a] -> [a] -> [a]
++
String
""forall a. [a] -> [a] -> [a]
++
String
"Believe it or not this language is indeed Turing complete!"forall a. [a] -> [a] -> [a]
++
String
"Combines the speed of BASIC with the ease of INTERCAL and"forall a. [a] -> [a] -> [a]
++
String
"the readability of an IOCCC entry!"forall a. [a] -> [a] -> [a]
++
String
""forall a. [a] -> [a] -> [a]
++
String
">+++++++++[<+++++++++++>-]<[>[-]>[-]<<[>+>+<<-]>>[<<+>>-]>>>"forall a. [a] -> [a] -> [a]
++
String
"[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<"forall a. [a] -> [a] -> [a]
++
String
"-]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<"forall a. [a] -> [a] -> [a]
++
String
"[>>+>+<<<-]>>>[<<<+>>>-]>[<+>-]<<-[>[-]<[-]]>>+<[>[-]<-]<+++"forall a. [a] -> [a] -> [a]
++
String
"+++++[<++++++<++++++>>-]>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-"forall a. [a] -> [a] -> [a]
++
String
"]<<<<<<.>>[-]>[-]++++[<++++++++>-]<.>++++[<++++++++>-]<++.>+"forall a. [a] -> [a] -> [a]
++
String
"++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>"forall a. [a] -> [a] -> [a]
++
String
">>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<+++++++"forall a. [a] -> [a] -> [a]
++
String
"+>-]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<------"forall a. [a] -> [a] -> [a]
++
String
"---->-]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++"forall a. [a] -> [a] -> [a]
++
String
"++[<---------->-]<--.>+++++++++[<+++++++++>-]<--.-.>++++++++"forall a. [a] -> [a] -> [a]
++
String
"[<---------->-]<++.>++++++++[<++++++++++>-]<++++.-----------"forall a. [a] -> [a] -> [a]
++
String
"-.---.>+++++++[<---------->-]<+.>++++++++[<+++++++++++>-]<-."forall a. [a] -> [a] -> [a]
++
String
">++[<----------->-]<.+++++++++++..>+++++++++[<---------->-]<"forall a. [a] -> [a] -> [a]
++
String
"-----.---.>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>>+++"forall a. [a] -> [a] -> [a]
++
String
"+[<++++++>-]<--.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<."forall a. [a] -> [a] -> [a]
++
String
"><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++"forall a. [a] -> [a] -> [a]
++
String
"++++++++++++.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<++"forall a. [a] -> [a] -> [a]
++
String
"+++++++>-]<--.---------.>+++++++[<---------->-]<.>++++++[<++"forall a. [a] -> [a] -> [a]
++
String
"+++++++++>-]<.+++..+++++++++++++.>++++++++++[<---------->-]<"forall a. [a] -> [a] -> [a]
++
String
"-.---.>+++++++[<++++++++++>-]<++++.+++++++++++++.++++++++++."forall a. [a] -> [a] -> [a]
++
String
"------.>+++++++[<---------->-]<+.>++++++++[<++++++++++>-]<-."forall a. [a] -> [a] -> [a]
++
String
"-.---------.>+++++++[<---------->-]<+.>+++++++[<++++++++++>-"forall a. [a] -> [a] -> [a]
++
String
"]<--.+++++++++++.++++++++.---------.>++++++++[<---------->-]"forall a. [a] -> [a] -> [a]
++
String
"<++.>+++++[<+++++++++++++>-]<.+++++++++++++.----------.>++++"forall a. [a] -> [a] -> [a]
++
String
"+++[<---------->-]<++.>++++++++[<++++++++++>-]<.>+++[<----->"forall a. [a] -> [a] -> [a]
++
String
"-]<.>+++[<++++++>-]<..>+++++++++[<--------->-]<--.>+++++++[<"forall a. [a] -> [a] -> [a]
++
String
"++++++++++>-]<+++.+++++++++++.>++++++++[<----------->-]<++++"forall a. [a] -> [a] -> [a]
++
String
".>+++++[<+++++++++++++>-]<.>+++[<++++++>-]<-.---.++++++.----"forall a. [a] -> [a] -> [a]
++
String
"---.----------.>++++++++[<----------->-]<+.---.[-]<<<->[-]>["forall a. [a] -> [a] -> [a]
++
String
"-]<<[>+>+<<-]>>[<<+>>-]>>>[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]"forall a. [a] -> [a] -> [a]
++
String
">[<+>-]>[<<++++++++++>>>+<-]<<-<-]+++++++++>[<->-]>>+>[<[-]<"forall a. [a] -> [a] -> [a]
++
String
"<+>>>-]>[-]+<<[>+>-<<-]<<<[>>+>+<<<-]>>>[<<<+>>>-]<>>[<+>-]<"forall a. [a] -> [a] -> [a]
++
String
"<-[>[-]<[-]]>>+<[>[-]<-]<++++++++[<++++++<++++++>>-]>>>[>+>+"forall a. [a] -> [a] -> [a]
++
String
"<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>[-]>[-]++++[<++++++++>"forall a. [a] -> [a] -> [a]
++
String
"-]<.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..---"forall a. [a] -> [a] -> [a]
++
String
"-----.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++"forall a. [a] -> [a] -> [a]
++
String
".>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<-"forall a. [a] -> [a] -> [a]
++
String
"-.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]"forall a. [a] -> [a] -> [a]
++
String
"<.+++..+++++++++++++.>++++++++[<---------->-]<--.>+++++++++["forall a. [a] -> [a] -> [a]
++
String
"<+++++++++>-]<--.-.>++++++++[<---------->-]<++.>++++++++[<++"forall a. [a] -> [a] -> [a]
++
String
"++++++++>-]<++++.------------.---.>+++++++[<---------->-]<+."forall a. [a] -> [a] -> [a]
++
String
">++++++++[<+++++++++++>-]<-.>++[<----------->-]<.+++++++++++"forall a. [a] -> [a] -> [a]
++
String
"..>+++++++++[<---------->-]<-----.---.+++.---.[-]<<<]"forall a. [a] -> [a] -> [a]
++
String
"@"
helloum :: String
helloum =
String
"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.@"
sort :: String
sort =
String
"Here is a Brainf*** program that bubblesorts its input and spits it out:"forall a. [a] -> [a] -> [a]
++
String
">>>>>,+[>>>,+]<<<[<<<"forall a. [a] -> [a] -> [a]
++
String
"[>>>[-<<<-<+>[>]>>]<<<[<]>>"forall a. [a] -> [a] -> [a]
++
String
"[>>>+<<<-]<[>+>>>+<<<<-]"forall a. [a] -> [a] -> [a]
++
String
"<<]>>>[-.[-]]>>>[>>>]<<<]"
toupper :: String
toupper =
String
",----------[----------------------.,----------]"