Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lakpan
on Dec 5, 2023
|
parent
|
context
|
favorite
| on:
A Brainfuck interpreter written in PostScript
How do you implement a compiler in 6 lines of code, let alone 6 lines of BF code?
matslina
on Dec 5, 2023
[–]
Whitespace is ignored in Brainfuck, so just write the compiler in brainfuck and then strip all but 6 newlines.
fouc
on Dec 5, 2023
|
parent
|
next
[–]
I think lines should be hard wrapped at around 100 or 120. Linus prefers 100 for example.
lakpan
on Dec 6, 2023
|
parent
|
prev
[–]
This is such a Brainfuck answer
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: