diff --git a/nbfi/test.sh b/nbfi/test.sh new file mode 100755 index 0000000..c1e5bb5 --- /dev/null +++ b/nbfi/test.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +for i in `ls test` ; do + bin/nbfi test/$i +done diff --git a/nbfi/test/helloworld.bf b/nbfi/test/helloworld.bf new file mode 100644 index 0000000..f079b46 --- /dev/null +++ b/nbfi/test/helloworld.bf @@ -0,0 +1,42 @@ +++++++++++ +[ + > + +++++++ + > + ++++++++++ + > + +++ + > + + + <<<< + - +] +> +++ +. +> ++ +. ++++++++ +.. ++++ +. +> +++ +. +<< ++++++++++++++++ +. +> +. ++++ +. +------ +. +-------- +. +> ++ +. +> +. diff --git a/nbfi/test/hw.bf b/nbfi/test/hw.bf new file mode 100644 index 0000000..265e751 --- /dev/null +++ b/nbfi/test/hw.bf @@ -0,0 +1 @@ +++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.