Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119464 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 59925 invoked from network); 3 Feb 2023 22:48:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Feb 2023 22:48:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4E417180504 for ; Fri, 3 Feb 2023 14:48:18 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8495 185.67.36.0/23 X-Spam-Virus: No X-Envelope-From: Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 3 Feb 2023 14:48:16 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5B6FB240046 for ; Fri, 3 Feb 2023 23:48:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1675464495; bh=CwvIx4QM+xTHLi/IzDX0FNOqnq8FqFyOZ4YK50ymyFA=; h=Date:From:To:Cc:Subject:From; b=A/rmKTSLOuckn+UfLkMCR4KVAxGBM2BoXjJfyLpx6jssjY0HV8gAF6UfKxuv+PbGy eOYyXwfv2lUxZHWlGIbnvjTI6UC9pbnazuS2X6vo39/9A/nFFipZERCrDbTaU2v5up gRezsJFUTSrAGx4HyJsR+JL4yr7xbA9+rNlXWO+iUd7m2XeiN3kEaNaDw6iEh22T5C hT4AfNDWgzauMiHH9rG0xBjzAu6cc1LPt7po81kJ3b4qMkq1LasOTe89mA+6ZBYaj+ CwcWOYnOht6mgH8G2pfra4g1efEVfkW3HoHl42wSvUrcW3s/F06rLN5Jki/K+PC1s8 oWMM220dbvN6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P7rR26Ffpz6tpn; Fri, 3 Feb 2023 23:48:14 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Fri, 03 Feb 2023 22:48:14 +0000 To: internals@lists.php.net Cc: Rowan Tommins In-Reply-To: <984C1111-6F5D-4475-B98D-C150DF255CEB@gmail.com> References: <984C1111-6F5D-4475-B98D-C150DF255CEB@gmail.com> Message-ID: <3a4989070e88e745c77c4f12eb9f56d6@posteo.de> Subject: Re: [PHP-DEV] Official Preprocessor From: thomas.pakkanen@posteo.de (=?UTF-8?Q?Thomas_Kr=C3=BCger?=) Hi, why not using the existing Typescript programming language and transpile=20 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=20 (community friendly) would be an alternative of creating a complete new=20 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=C3=A4rstedt"=20 > 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. >=20 > 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. >=20 > The far larger concerns are governance, resources, and release cycles. >=20 > Regards, >=20 > -- > Rowan Tommins > [IMSoP]