From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: tree-sitter and Android port Date: Tue, 21 Feb 2023 13:33:20 +0800 Message-ID: <87edqjeg67.fsf@yahoo.com> References: <87ttzkmrw1.fsf.ref@yahoo.com> <87ttzkmrw1.fsf@yahoo.com> <877cwcfmal.fsf_-_@yahoo.com> <0079408F-76B4-4BEF-A473-C3EF2E98B5CE@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, Theodor Thornhill To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 21 06:36:08 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pULJw-00018t-Kc for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Feb 2023 06:36:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pULJR-0005MC-6y; Tue, 21 Feb 2023 00:35:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pULJP-0005M2-4e for emacs-devel@gnu.org; Tue, 21 Feb 2023 00:35:35 -0500 Original-Received: from sonic310-52.consmr.mail.ne1.yahoo.com ([66.163.186.233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pULJN-0001jM-Bz for emacs-devel@gnu.org; Tue, 21 Feb 2023 00:35:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676957731; bh=jvuBa597ECdp1b795kouS8+WX960wYls9kKUzCkmW2I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=nocaOy4DNT82JGGOeHJpsxbtniV1IsNrI/o1Y/SFTTDtCcItA19FkNkZy7M0Ih8sfznQulfg/x5ZDjNJA+ZYyqvQ9fg7vs3C9DCmLW4m2PKlGnqP4CfJISfm6Qc3q41oRfZ/7uL/LhH05S7wZ2KXcDcOfAHP/igSGwbVzx2bnu0tGQyZV99W6GifLSncLj8QQuNQhoH4eTBBpt95jFMWGX+Pd2MzPpxutpZYEPpcrIoQjgrHzK2oCgc8SWZWLfHfXzKAsh029iS3/MAxDVWZI+GNmr9S16s3Ng67fBg/AUqvmieJlIKuQkJeZKcCsdYlhm7sYAHBwzvwOJL5eRTzmA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676957731; bh=cg6yQy+wPua9+DOclgOm3vd/5ZXt3BbP0VgVxFckyQj=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=kiWjLrbPbFnGx+w6UXHx95kbyPENic6kz3ZB19cbCKYCRlDXUdkEaMNpJMWqTuoRNT252MZdG8gvwukLEtKK+Fc4/uB0T27KmFVlu7uhkIF8pVLZS1nA3oUeDGIVlw/xuw96qJSYLrESje4WnRlPufeZX8hpRUfZ6GJkoF2/StP3YEKKHbEZb0AEJFCPAydV/UHFY4ygXWf3nVas+d3DR6BlXKkjlj/wocB+SveTb25FTa/GSsr+au4QUWYUJ9oB4RpATNoHeMX8sgktdXju5qvMfBfWKcJiSXQBUJO2rDsTBFiEN5fIvFftfbRtLjJGzvN5KnAu2Dkgg5AR9grK8Q== X-YMail-OSG: 9.EkdLwVM1lULjRFFjjEaTcR5dBdqI_0HaQe9cQWksVKhQumGPfonBXOGNgdWQM _147y3VrbQ8ywAQSlSMAKyrcb5c.8rST5Lwc5EWmS5at9vQz8KuR72ehwcHse50BAY3H_SMyxGav BojmApP9WFcQ6FNVAR52rSeb2EE.cywb._ictnXyg2w0ll8r_asCoO9gq3IgHu30ol5xmXiVJQOt aTD_BCkRXrzzdQYwt9LAyvNo0LuqsK56mYlXV2v0pGgU3mJ1b.JYVutvwfjs8eu1mrvIB_SRXIo. kqkQ7PtPyuxUCCZoH97gdXnSpJPAdKNLAAuHn5VT2p52bSaVcK0Vg6C9pGLieqbKGTaZQcXpmmKK Z8SxLkxLps8FUUOnurBMU1qw1RWasAYZeYWYADHq95R.ZXFSx0h5e2N5ATksXwINqFDsQve.KUYj 8TN3F86wRNH1kPq2P2ammtoNv_wQrLQV4P6I0qsrrauvXG6JtJXUkBQXK3Bn6zURWLHYza1W8awz kcWL2JNZ7dXzL9ZTkqrP9v0LUNGg_HHJPVlrZre4_weM1pNB.90dNXM7l5Ib2FpOb6hA6Yb3Eh5S mmikkemUineQzvBLhdW.wUoCvsqP2gNbn2kngK5Gsr0F.7R0kE5.w14rbBdWzfr8Mb4UHuHXCPNY t2PGzHRzbqonZmH0N.W1O6Y8BNdFgxjvlZ3RpJD99ZbN_i4wPpDEglkQWgCDnBTvIp1HhL2kUwFN 7UUw9qD.7lhNRzmXrGuH1RIAdsh3sY77LouncMwVqu57NOx1WQEoa.DN_2pLyIRJku4qpsoLZbw9 Ba6ZFZGL.0UI3zpH2dclBipWe7OIL65bGWqggv9MqE X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Tue, 21 Feb 2023 05:35:31 +0000 Original-Received: by hermes--production-sg3-9fc5746c8-z7rbd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 42da2baedc374731956c172fb3af2dce; Tue, 21 Feb 2023 05:33:28 +0000 (UTC) In-Reply-To: <0079408F-76B4-4BEF-A473-C3EF2E98B5CE@gmail.com> (Yuan Fu's message of "Mon, 20 Feb 2023 18:56:40 -0800") X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.233; envelope-from=luangruo@yahoo.com; helo=sonic310-52.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303636 Archived-At: Yuan Fu writes: > I=E2=80=99ve looked at this before. The =E2=80=9Cuncompiled grammar file= =E2=80=9D, grammar.c, > not only contains static data, but also functions. Some language also > requires a scanner.cc file which contains > nontrivial functions. So to =E2=80=9Cinterpret=E2=80=9D the grammar file = you > essentially need a C (and sometimes even C++) compiler. Is there any chance of this situation changing? In the future, we will see more and more systems where these kinds of restrictions are common, so it would be a good idea for a solution to be found. Thanks.