Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you implement a compiler in 6 lines of code, let alone 6 lines of BF code?


Whitespace is ignored in Brainfuck, so just write the compiler in brainfuck and then strip all but 6 newlines.


I think lines should be hard wrapped at around 100 or 120. Linus prefers 100 for example.


This is such a Brainfuck answer




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: