| 1 | |
| 2 | // AsciiGen 1_3 |
| 3 | // by: Tomas "Harvie" Mudrunka |
| 4 | // Contact: 283/782/978 / harvie@seznam(dot)cz (reading once a year :) |
| 5 | // Urceni: |
| 6 | // * Program cte Ascii znaky ze STDIN a na STDOUT vypisuje BrainFuck kod pro vypis danych znaku |
| 7 | // Pridano: |
| 8 | // * CR/LF za kazdym znakem na vystupu |
| 9 | // Original name: |
| 10 | // * asciigen.b |
| 11 | |
| 12 | ===================================================Init================================================== |
| 13 | > |
| 14 | >+++++++++++++++++++++++++++++++++++++++++++ // "plus" |
| 15 | >++++++++++++++++++++++++++++++++++++++++++++++ // "dot" |
| 16 | >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // "lbrkt" |
| 17 | >+++++++++++++++++++++++++++++++++++++++++++++ // "minus" |
| 18 | >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // "rbrkt" |
| 19 | >+++++++++++++ // "CR" |
| 20 | >++++++++++ // "LF" |
| 21 | <<<<<<< // Back on 1st cell |
| 22 | |
| 23 | ==================================================Code=================================================== |
| 24 | |
| 25 | +[ |
| 26 | >>>.>.>. |
| 27 | <<<<< |
| 28 | ,[>.<-]+ |
| 29 | >>.>.>.>.>.>. |
| 30 | <<<<<<< |
| 31 | ] |
| 32 | |
| 33 | ===================================================End=================================================== |