Hi,

why not using the existing Typescript programming language and transpile it to PHP? :)

There are community examples for doing that:
"ts2php"
https://www.npmjs.com/package/ts2php

Maybe creating an own PHP transpiler for Typescript written in pure PHP (community friendly) would be an alternative of creating a complete new high ievel language developed in C-programming langage.

Best regards,
Thomas

Am 03.02.2023 20:17 schrieb Rowan Tommins:
On 3 February 2023 18:30:00 GMT, "Olle Härstedt" <olleharst...@gmail.com> wrote:
You'd have to rewrite Psalm or Phpstan in C if you want it to be part
of php-src. Or write a completely new project.

I don't think that's necessarily true. There are already tools like
run-tests written in PHP and shipped with php-src, PECL is written in
PHP, and there have even been suggestions that rewriting some included
functions in PHP would be a good long-term goal.

The far larger concerns are governance, resources, and release cycles.

Regards,

--
Rowan Tommins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to