News for hackers. Stuff that matters.
Re:A Brainfuck interpreter written in PostScript by lakpan on Tuesday December 05, 2023 @11:49AM (#38533343)
How do you implement a compiler in 6 lines of code, let alone 6 lines of BF code?
Re:A Brainfuck interpreter written in PostScript by matslina on Tuesday December 05, 2023 @01:13PM (#38534743)
Whitespace is ignored in Brainfuck, so just write the compiler in brainfuck and then strip all but 6 newlines.
Re:A Brainfuck interpreter written in PostScript by fouc on Tuesday December 05, 2023 @02:59PM (#38536165)
I think lines should be hard wrapped at around 100 or 120. Linus prefers 100 for example.
Re:A Brainfuck interpreter written in PostScript by lakpan on Wednesday December 06, 2023 @01:17AM (#38540946)
This is such a Brainfuck answer