Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lakpan
· 2y ago · 0 comments
How do you implement a compiler in 6 lines of code, let alone 6 lines of BF code?
Comments
[–]
matslina
2y ago
Whitespace is ignored in Brainfuck, so just write the compiler in brainfuck and then strip all but 6 newlines.
[–]
fouc
2y ago
I think lines should be hard wrapped at around 100 or 120. Linus prefers 100 for example.
[–]
lakpan
OP
2y ago
This is such a Brainfuck answer