From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: [Compiler Tower] A better Python plan Date: Sat, 14 Dec 2024 21:03:25 +0900 Message-ID: References: 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="39048"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: mikael@djurfeldt.com Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 14 13:05:10 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 1tMQtS-0009yZ-C6 for guile-user@m.gmane-mx.org; Sat, 14 Dec 2024 13:05:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMQsr-00080z-Oy; Sat, 14 Dec 2024 07:04:33 -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 1tMQsn-0007yP-8y for guile-user@gnu.org; Sat, 14 Dec 2024 07:04:29 -0500 Original-Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMQsO-00056Y-Sw for guile-user@gnu.org; Sat, 14 Dec 2024 07:04:28 -0500 Original-Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2ef87d24c2dso1990384a91.1 for ; Sat, 14 Dec 2024 04:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734177817; x=1734782617; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EPr3CyWORGEerqwXKNQ3gRPfRVFQeO/Ys3s6uTmMObg=; b=aq/PDlGLiI44U3J8Tuuy6vh3h2RgsTEAHOo4VGnwTYaQlQ89ebibFa+Y0Ov0OW7Sxe jq/j8PVWJvvfD+d7MEaEzRLRksuWK9yuSGPk/+ctk+EimuG1g+EgAvElQCQPXfv/mA35 49cO4V9J6yjVazk5VtKbEST87AL5tGutHBlqATM7uyMVLpJl6AZiQGT8MUBPulp5PDyR C4F1oPjOHhgz5VMJsZBunc2EQ+AjSgZxl2MZaRmgjO4lQmtE1fgq/gxiRHwaWLkyetnX 4DyYG03WkbcZSh8G/4hXxPudw/VUkBdabLQSOP77UyFttESLu4sZNjtQS//DFoQzX3ql HXng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734177817; x=1734782617; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EPr3CyWORGEerqwXKNQ3gRPfRVFQeO/Ys3s6uTmMObg=; b=N1z+OyG1PkuGY6P9SRjtxv2dUyOVbg7i+B5zwaUa2PinU0X94eNqGAUL+VU5J+1r96 rG2BngDzPAXZ6wahINQdhL/W+beo8MhrPm8YRfMqHZ3q7gy5vpUfOGMbyQJU6NZ8UOo3 ZCylsew0pU6vAYycPAZvhxhf6L1IDo5FMQzXqnIeRSDw1pEnUkpdAxNuP2xBnD8HLJ2k UJz5WC84LU70IKCDs89z6HETyspHKEc73YfutwAFOMQ6VUYTyCZrANuI/FjzEkuc1S26 ad3hkhU/IXcr8veo5rC5tV8b09FNg2oHf3oM1pcUSuXJNwq7kmkrWXVkcyrJpQtk31l+ dW6A== X-Gm-Message-State: AOJu0Yzpk6ASlHO3hPFOR/oKINeIOgGR+Y81r0SGnnXc8zhhOJgbBk09 ptxnLIn6FkhAN5IDqPzXclIKNA1c4lChn0ouvur0LTaGktgorHqWTz1SX7sFkPJZg3adfIsqWaG 7Qs7ON6ph3kkdf25wFPl7b2SX/6k= X-Gm-Gg: ASbGnctcZ0WiiLchM2pKYOdhjfNv9HQ30/M37kJNFwWCu7ARQx90Y+18aOoUOf+qvKi IJqePEUm0wHR8fX3yDaq5TO0hTDumeIanzpd5Pg== X-Google-Smtp-Source: AGHT+IFARaC+y1KJq3InAlG/eXm7tDmIqhoUWRsWLClyuin1nZUvKDXAwTy9FYJ/dCXOvhvDtGHmRJa+9TviqU0Nki8= X-Received: by 2002:a17:90b:1d51:b0:2ee:90a1:5d42 with SMTP id 98e67ed59e1d1-2f28f861686mr10196866a91.0.1734177816989; Sat, 14 Dec 2024 04:03:36 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=nalaginrut@gmail.com; helo=mail-pj1-x1035.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:19981 Archived-At: I believe the Guile compiler tower is flexible enough to allow new languages to be maintained independently, and it makes installing a new language quite straightforward. On Sat, Dec 14, 2024, 20:17 Mikael Djurfeldt wrote: > Thanks---I didn't know about your work on lua. Should be included in Guil= e > proper IMO! > > (Some people complain about Guile being large. I think it would be good i= f > there was a way to create a minimal Guile for those that want to ship Gui= le > with their application. Perhaps even the Guile distribution could be > modularized in some way.) > > On Sat, Dec 14, 2024 at 12:08=E2=80=AFPM Nala Ginrut wrote: > >> Oh I didn't try python-for-guile for a while, seems it got a lot >> improvements! >> >> I need to polish guile-lua-rebirth, years ago I was working on run Lua >> code as GNU Artanis webapp, it booted successfully, however COVID broke = all >> my plans, I almost forgot I have it... >> https://gitlab.com/NalaGinrut/guile-lua-rebirth >> >> Best regards. >> >> On Sat, Dec 14, 2024, 19:48 Mikael Djurfeldt >> wrote: >> >>> 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 = skrev: >>> >>>> 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 P= ython >>>> 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 a= nd >>>> rewrite. Perhaps it is then possible to fetch some insights and inspir= ation >>>> 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 i= s >>>>> a >>>>> dialect of Python. Like Python, it is a dynamically typed language wi= th >>>>> 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. >>>>> >>>>