I guess Robert's idea is more like the "pypy" project for Python, which
is a fast Python interpreter written in Python.
So, there are examples of PHP interpreter/VMs written in PHP:
https://github.com/ircmaxell/PHPPHP
Best regards,
Thomas
Am 17.04.2023 20:21 schrieb Thomas Hruska:
On 4/17/2023 9:29 AM, Robert Landers wrote:
Hello Internals,
I saw someone mention writing PHP (the engine) in PHP and it got me
thinking, is there anything preventing PHP from being a self-hosted
language? I assume this has been discussed before, but I couldn't find
anything via Google or Externals.
Robert Landers
Software Engineer
Utrecht NL
Do you mean something like:
https://github.com/cubiclesoft/php-app-server
Or something more like Java which is written in Java? In that case,
maybe:
https://github.com/Corveda/PHPSandbox
--
Thomas Hruska
CubicleSoft President
CubicleSoft has over 80 original open source projects and counting.
Plus a couple of commercial/retail products.
What software are you looking to build?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php