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:47:50 +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="39343"; 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:48:58 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 1tMPhi-000A3e-3E for guile-user@m.gmane-mx.org; Sat, 14 Dec 2024 11:48:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMPgs-0006GU-Gh; Sat, 14 Dec 2024 05:48:06 -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 1tMPgq-0006GG-TG for guile-user@gnu.org; Sat, 14 Dec 2024 05:48:04 -0500 Original-Received: from mail-vs1-f50.google.com ([209.85.217.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMPgp-0005ES-5r for guile-user@gnu.org; Sat, 14 Dec 2024 05:48:04 -0500 Original-Received: by mail-vs1-f50.google.com with SMTP id ada2fe7eead31-4afdd15db60so653577137.1 for ; Sat, 14 Dec 2024 02:48:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734173282; x=1734778082; 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=lyUA1U6FO3hfU5s+V85o08hF7cdRmSTpkjftaEClXD4=; b=JTK+O2lfwG4lzuRLgqE8dRSiqAFc8C6UQES9FXCNlrGCjFMu05SMQ6neOSGwbaRfmA UDKxUVzP/qt4bSA2EJmOBdTQkYOrBf2QodtSB3jwJDrmMnFCMLg/eSu8Tzr5uv+edMfQ QDdA26IjoCgDLiSHUj1m95MSGVlT/aehR4MvjGvBS4B1PCZ5Dc3L0vzJRDA4VpLDiHMB OjjC7NewD7ixC1Ziqzpxw7+tlzblUzii/LMEh7ncxtLBm+t9t1nnFMdrsUPpbjOAjFtq HRMVpEasyUxd6amV8n4HhUgxXcirp01XknsD3Y/Y0ybv8/pViyl1v8QmZ3FR0DhqZW80 j5lQ== X-Gm-Message-State: AOJu0YwatieAOq7axaFKtxrwcYlPUqOrssbJXY1CAKLuBb73k56tLSEl Pdz+SClRuYXoqisqSJJD8CJaR6dhleig32GryHsUBL+DoA5WQ+cOCe+z8HlV2GajV5JLe0Oj5p0 qiT3iBsJMm3UY23k9R5u/nZd6vdA= X-Gm-Gg: ASbGncsN8/+5wLTbOR4wfkW5aSAzvDv1bt1m6wClv52tAOMyKdzQ02OvK7GD+SzP+9F LyndngOPGIVKC2sfWnN7M/22PKuOAiSl5TmdhFKs= X-Google-Smtp-Source: AGHT+IHJFJXaKG6rVbJW70Lmy6ruVJkBAuKeK2OMQ4MHsNLAmjIh60AzHg9qFwQNd+5iRCfkkRs8+z3C6WJnuyM6AoQ= X-Received: by 2002:a05:6102:441c:b0:4af:fa1b:d8e0 with SMTP id ada2fe7eead31-4b25d9de552mr5887873137.15.1734173281977; Sat, 14 Dec 2024 02:48:01 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=209.85.217.50; envelope-from=mdjurfeldt@gmail.com; helo=mail-vs1-f50.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:19978 Archived-At: Being able to script in Python in Guile would be the strongest yet showcase for multi-language support in Guile and would be an additional strong argument for Guile in Emacs. Den l=C3=B6r 14 dec. 2024 11:23Mikael Djurfeldt skre= v: > 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 Pyth= on > 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 inspirati= on > 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. >> >