A brainfuck compiler written in PHP
github.comWhy 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
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.