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

Nice work!

Let me make a tiny plug for a short Sunday project as well... Brainf*ck in Prolog:

http://github.com/danieldk/brainfuck-pl/

One nice thing is that unit testing is really simple:

http://github.com/danieldk/brainfuck-pl/blob/master/unittest...

And for some very trivial outputs, it can generate the program to create that output.

  ?- brainfuck:interpret([A,B],[],[0],[0],[1,0]).
  A = <,
  B = + ?
Ps. Yes, it's easy to improve generation...


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: