Different approach instead using fancy-pants math to convert text to Brainf**k as done in BFI:
The format produced is near identical to what I used in Brainless Bot.
Only real difference is:
Brainless Bot >>++++[<++++++++>-]<.. Space (x2) = 32 == VS == TTBDA >>++++[<++++++++>-]<.. Space = 32It can also produce a compact format (
--compact=<int>
) if you don't want the comments.>+++++[<+++++++>-]<.>>++++[<++++++++>-]<.>>+++++[< +++++++++++++++++>-]<-..>>++++++[<+++++++++++>-]<. >>++++[<++++++++>-]<.>>++++[<++++++++++>-]<.>>++++ +[<+++++++++++++++++>-]<-.>>++++++++++[<++++++++++ >-]<+.>>++++++++++[<++++++++++++>-]<.>>++++++++++[ <+++++++++++>-]<++++++.>>++++[<++++++++>-]<.You can have all the code one 1 line if you want by specifying
compact
as0
.Check test/gitignore.bf for an example.
bored 🤷♂️