News for hackers. Stuff that matters.
Re:Php-parser written in golang v0.3 is released by Xylakant on Friday March 02, 2018 @08:54AM (#16501324)
Aaron Patterson, the author of phuby (https://github.com/tenderlove/phuby) once explained in a talk what's good about embedding a php interpreter in ruby. The gist, as I remember was: Technically speaking, it makes no sense. It will never become anything useful. But you can make it work, and you might learn something useful along the way. IIRC, he found a couple of very interesting (and useful) issues along the way.

So the answer might just be "because I can and I want to".

This is the talk, IIRC: "Yak shaving is best shaving" https://www.youtube.com/watch?v=nY_Pl2x7Fgs

Re:Php-parser written in golang v0.3 is released by chamton on Friday March 02, 2018 @09:01AM (#16501374)
Embedding an interpreter in another language can certainly be useful, but this is just a parser.
Re:Php-parser written in golang v0.3 is released by randomdata on Friday March 02, 2018 @09:19AM (#16501496)
A parser is a big step towards building that interpreter, however. Who knows what the long-term goals are or what remains closed source software.
Re:Php-parser written in golang v0.3 is released by Xylakant on Friday March 02, 2018 @09:08AM (#16501420)
Sorry, but phuby is not useful, was never intended to be and even says so. It's a hilarious prank, if you ask me.
Re:Php-parser written in golang v0.3 is released by tyingq on Friday March 02, 2018 @09:51AM (#16501769)
An interpreter in a compiled language, though, has obvious run time benefits. Though this is just a parser.