From 668c9a8b90908aba3653a8c3b754fe2587cd5df7 Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 6 Jan 2020 14:03:24 +0100 Subject: [PATCH] Improve readme --- README.md | 5 +++++ examples/bintodec.bf | 2 ++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index b420e20..66d7587 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,11 @@ Output viewer: A ~~~~ +** echo "42=" | ./bfckr -f examples/bintodec.bf ** +~~~ +42=101010 +~~~ + # Breakpoints A # in the brainfuck source will be interpreted as breakpoint. You can use them if you want to stop the program flow at a specific point and start the debugger from there. If you are in debugger mode pressing c will get you back to executing the program. diff --git a/examples/bintodec.bf b/examples/bintodec.bf index 92d60fe..955dc14 100644 --- a/examples/bintodec.bf +++ b/examples/bintodec.bf @@ -1 +1,3 @@ +// Usage: echo "15=" |./bfckr -f examples/bintodec.bf + ++++++[>++++++++<-]>[>+++[>++++[>+++++<-]<-],.[>+>-<<-]>>+[[-]<[<+>-]>]<[-]<]<[<]->[-]>[>]>>+>+<<<<[<]>[[>]->>[>]+[[>+<-]<]>>[[[>]>[>]>+<<[<]<[<]>-]<+>>[>]>[>]+>-[<+[<]<[<]<+>>[>]>[>]<-]<[<]<[<]>]>[[<+>-]>]+<+[<]<[[>>[>]<+[<]<-]>>[>]<-[>+<-]<[<]<<[[>+<-]<]>>[>]<]>>[>]>[[<+>-]>]<<[-[-[-[>+<-]<+>>-<]>+<]>+<<]>>-[+<]+<<+[<+]>->>->[>]>[-[<<[<]<+>>[>]>-]<+[<]+>->[>]>]<<[-<]<-<[<]<<[<]++++++[>--------<-]>[[>]>+<<[<]>-]>[>]>[<+>-]<[>>[>]>>+<<<[>>[>]>[<<[<]<--[+>+[>]>>-<<<[<]]>+[<+>-]>[>]>->+<]>[<+>-]<<<[<]<[>+<-]<]>>-[+[>]<[[>+<-]<]>]+[[<+>-]>]<<[<]<-]<[<]>]>>[>]++[<]>--[>--]++<++<[+<[<]>[+>]]<+[<+]>>->[>]>[-[<<[<]<+>>[>]>-]<+[<]+>->[>]>]<<[-<]<-<--<[<]>>[<<+>>-]+<<[-[>>+<<-]]>[>]>++++++[<++++++++>-]<-[<[+<]>[>]<-]<[<]>>[.>]