From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.user Subject: Re: [Compiler Tower] A better Python plan Date: Sat, 14 Dec 2024 11:23:36 +0100 Message-ID: References: Reply-To: mikael@djurfeldt.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="34965"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User , Mikael Djurfeldt To: Nala Ginrut Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 14 11:24:36 2024 Return-path: Envelope-to: guile-user@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 1tMPK8-0008yU-CB for guile-user@m.gmane-mx.org; Sat, 14 Dec 2024 11:24:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMPJP-00031h-MK; Sat, 14 Dec 2024 05:23:51 -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 1tMPJO-00031W-RV for guile-user@gnu.org; Sat, 14 Dec 2024 05:23:50 -0500 Original-Received: from mail-ua1-f48.google.com ([209.85.222.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMPJN-0006PH-2a for guile-user@gnu.org; Sat, 14 Dec 2024 05:23:50 -0500 Original-Received: by mail-ua1-f48.google.com with SMTP id a1e0cc1a2514c-85c5316f15cso657902241.1 for ; Sat, 14 Dec 2024 02:23:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734171828; x=1734776628; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1NawdqhL2zJgWJf16uuTbMs40J/Y3INVJShsnJTZWvE=; b=hSFLUjQPIwsQ/sTVeJjT+ScPUeQvIlHZDyHQ5IYbiZH8x3mjKA+4643meCBa2NY1Se WwBzEe3nmXXQbIJzm3fVmLq4hGS36j2IpQYhhfK//b59BxmnSkMDnffRE35P6q6XD2g4 APZ4kiQ7cF6H3DehBS26MggI0hmTLnV/Qvnzk0gpTKFIJwsYwi6RnTdyyF8wyxifVow2 B+33v1d8zy/RPB6OgEZaYEkUBxv/abl3rbMGwAJnWBh5xtsIxNYMjSoBiRC2dMqR8nAM 9eo+8wpDJK/zFZcJnE9ai0ZaJ+G13tpPataOtReGXneglZqV1XB4TjHkDlJzZPIdoGWb 1ZkA== X-Gm-Message-State: AOJu0YzZ7h8JPmEKcbdiEm0JbAw79B7f37eMZoeSXvRWMLQdLEkM0OMD xmUrjWZNckTDCGapYMRbGhF+QVevpw0X6IEdyYnxOZxVlTwa99hh5iJw1SDXmWB6s9giPtvLJ0Y 2zyVo+9SngbtSf0yT/+XBTYQX/D1qClHS X-Gm-Gg: ASbGncuzidJVLV74FEHS/gk8EwwUCGVK+PlOzYiPeXgIgYcs6+yPiKjV9vYAljUVeiE QUieKaxtWhxJ9b3enQJn2iARGXuAsdXYtr+qoidE= X-Google-Smtp-Source: AGHT+IFsMO5tTKujjhCVwQ2PUFSLzkNoBzOwowTKFdr5MtDFJ5siojOKYtd/22t1LVZ8Mpe4H4BGrMz7y+mlTzT5jMA= X-Received: by 2002:a05:6102:3f51:b0:4af:fc14:f138 with SMTP id ada2fe7eead31-4b25d9974d2mr6928382137.7.1734171827764; Sat, 14 Dec 2024 02:23:47 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=209.85.222.48; envelope-from=mdjurfeldt@gmail.com; helo=mail-ua1-f48.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19977 Archived-At: While this is interesting, I'd like to have support for Python proper, with support for Python C interface such that it is possible to load Python extensions. Stefan Israelsson Tampe previously implemented Python in Guile https://gitlab.com/python-on-guile/python-on-guile/ I've tested it and it's possible to load many Python modules in that framework. However, it might be that Python support needs a redesign and rewrite. Perhaps it is then possible to fetch some insights and inspiration from Stefans work? Best regards, Mikael On Sat, Dec 14, 2024 at 7:38=E2=80=AFAM Nala Ginrut = wrote: > Recently I've heard about Starlark, which is described as "Starlark is a > dialect of Python. Like Python, it is a dynamically typed language with > high-level data types, first-class functions with lexical scope, and > garbage collection." > > I think it could be easier than implementing original Python. > https://github.com/laurentlb/awesome-starlark > > Best regards. >