mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add examble: perseptron/g3.cpp brainfuck/x86_compile.cpp
This commit is contained in:
parent
5ccbc4e903
commit
03b4eda323
15 changed files with 1411 additions and 8 deletions
45
example/brainfuck/bottles.bf
Normal file
45
example/brainfuck/bottles.bf
Normal file
|
@ -0,0 +1,45 @@
|
|||
// 99 Bottles of Beer
|
||||
">+++++++++[<+++++++++++>-]<[>[-]>[-]<<[>+>+<<-]>>[<<+>>-]>>>"
|
||||
"[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<"
|
||||
"-]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<"
|
||||
"[>>+>+<<<-]>>>[<<<+>>>-]>[<+>-]<<-[>[-]<[-]]>>+<[>[-]<-]<+++"
|
||||
"+++++[<++++++<++++++>>-]>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-"
|
||||
"]<<<<<<.>>[-]>[-]++++[<++++++++>-]<.>++++[<++++++++>-]<++.>+"
|
||||
"++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>"
|
||||
">>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<+++++++"
|
||||
"+>-]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<------"
|
||||
"---->-]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++"
|
||||
"++[<---------->-]<--.>+++++++++[<+++++++++>-]<--.-.>++++++++"
|
||||
"[<---------->-]<++.>++++++++[<++++++++++>-]<++++.-----------"
|
||||
"-.---.>+++++++[<---------->-]<+.>++++++++[<+++++++++++>-]<-."
|
||||
">++[<----------->-]<.+++++++++++..>+++++++++[<---------->-]<"
|
||||
"-----.---.>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>>+++"
|
||||
"+[<++++++>-]<--.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<."
|
||||
"><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++"
|
||||
"++++++++++++.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<++"
|
||||
"+++++++>-]<--.---------.>+++++++[<---------->-]<.>++++++[<++"
|
||||
"+++++++++>-]<.+++..+++++++++++++.>++++++++++[<---------->-]<"
|
||||
"-.---.>+++++++[<++++++++++>-]<++++.+++++++++++++.++++++++++."
|
||||
"------.>+++++++[<---------->-]<+.>++++++++[<++++++++++>-]<-."
|
||||
"-.---------.>+++++++[<---------->-]<+.>+++++++[<++++++++++>-"
|
||||
"]<--.+++++++++++.++++++++.---------.>++++++++[<---------->-]"
|
||||
"<++.>+++++[<+++++++++++++>-]<.+++++++++++++.----------.>++++"
|
||||
"+++[<---------->-]<++.>++++++++[<++++++++++>-]<.>+++[<----->"
|
||||
"-]<.>+++[<++++++>-]<..>+++++++++[<--------->-]<--.>+++++++[<"
|
||||
"++++++++++>-]<+++.+++++++++++.>++++++++[<----------->-]<++++"
|
||||
".>+++++[<+++++++++++++>-]<.>+++[<++++++>-]<-.---.++++++.----"
|
||||
"---.----------.>++++++++[<----------->-]<+.---.[-]<<<->[-]>["
|
||||
"-]<<[>+>+<<-]>>[<<+>>-]>>>[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]"
|
||||
">[<+>-]>[<<++++++++++>>>+<-]<<-<-]+++++++++>[<->-]>>+>[<[-]<"
|
||||
"<+>>>-]>[-]+<<[>+>-<<-]<<<[>>+>+<<<-]>>>[<<<+>>>-]<>>[<+>-]<"
|
||||
"<-[>[-]<[-]]>>+<[>[-]<-]<++++++++[<++++++<++++++>>-]>>>[>+>+"
|
||||
"<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>[-]>[-]++++[<++++++++>"
|
||||
"-]<.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..---"
|
||||
"-----.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++"
|
||||
".>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<-"
|
||||
"-.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]"
|
||||
"<.+++..+++++++++++++.>++++++++[<---------->-]<--.>+++++++++["
|
||||
"<+++++++++>-]<--.-.>++++++++[<---------->-]<++.>++++++++[<++"
|
||||
"++++++++>-]<++++.------------.---.>+++++++[<---------->-]<+."
|
||||
">++++++++[<+++++++++++>-]<-.>++[<----------->-]<.+++++++++++"
|
||||
"..>+++++++++[<---------->-]<-----.---.+++.---.[-]<<<]"
|
Loading…
Add table
Add a link
Reference in a new issue