Hacker News new | ask | show | jobs
A brainfuck compiler written in PHP (github.com)
47 points by davedevelopment 4254 days ago
4 comments

Why would you put a joke language that people use to troll other developers, and Brainfuck together into the same project?
Next up, PHP compiler written in brainfuck
Next thing you know they will be compiling PHP with PHP.
There is PHP parser written in PHP [0], a PHP VM implementation (running PHP code with PHP) [1] and a AOT compiler for PHP which is written in PHP, for a subset of the PHP language [2]. So yeah, it is already happening.

[0] https://github.com/nikic/PHP-Parser

[1] https://github.com/ircmaxell/PHPPHP

[2] https://github.com/google/recki-ct

Heehee
If for every PHP-bashing comment on HN, people would rather write one more line of open source code, the world would have been a better place.
Or spent time trying to improve PHP.
What would be the point of this? Any significant improvements would make it a different language.
I can't agree. It's not fundamentally broken.