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 12:16:51 +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="27148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Nala Ginrut Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 14 12:17:33 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 1tMQ9N-0006vG-17 for guile-user@m.gmane-mx.org; Sat, 14 Dec 2024 12:17:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMQ8y-0007u7-KX; Sat, 14 Dec 2024 06:17:08 -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 1tMQ8v-0007tX-8X for guile-user@gnu.org; Sat, 14 Dec 2024 06:17:05 -0500 Original-Received: from mail-ua1-f51.google.com ([209.85.222.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMQ8t-0006W6-C2 for guile-user@gnu.org; Sat, 14 Dec 2024 06:17:05 -0500 Original-Received: by mail-ua1-f51.google.com with SMTP id a1e0cc1a2514c-85c4c9349b3so584250241.3 for ; Sat, 14 Dec 2024 03:17:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734175022; x=1734779822; 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=k3jw6URhGw8WvUDXFkS8PhNaCiRqn2IpYYKmwc8ricA=; b=Eo4WyIWiGSXIyQAZv+pkCf4/Y+OgjZ3MEWZIf1fYrHlKs2vHDNJOoCp63oD++D3sQ+ 5qiAaM1EekczI23lJD6u90Gk26lPjdPymH5fq4zeTRr90FCLOU3Oae8m6acT3ebCspDK as3IaKN5sBlki72GkATHukX4+wegjB5zQ+Bq3dsE+UxNhUju6dylueNoi3vKD/H9qbmj M7BdhXHwPLXWmMv0vncUNCDfRudb2jIWtzoZb5e68COGT5juh6seFrWfQnsbl450Xhuc vmagoXT1RDJvmmVoWZ93mBZkTRFbbUkRAxORaON1QrMRCtCrJ/vsqOlTKabKKpuwnInX lr4g== X-Gm-Message-State: AOJu0YyeWW7RZAxtOEFZwLRFtC+WEBj2pX+p00gZoi+qa2OHEuBEtuD6 Y87zX8nzOWAiahUwk9BWwX6yJHlNIityRE2wyBXAWQ7XPlum9nBpMI0q79gXJRqnvftyVRJ4dI9 +fhhpdlS9osPtvDXACN9zjm8qKKc= X-Gm-Gg: ASbGnctqqo3iYeNxW8Mvb525hRjX+tKETQZnzYrGxN2Y0HusfkJ7hwlpPno+53e8lYQ yB8k0rjbBTM7UprrNBVqYzl31LF/ThB2k1j9M49Y= X-Google-Smtp-Source: AGHT+IFByKQ4ZXJBb1AgptKMzIYhb6gu1BqRKveKY2ZDRsLO9PvrR6rYUPgFuoZSd2S6ggqwfeYO8g/G6C8LwoSdnoU= X-Received: by 2002:a05:6102:6c8:b0:4b2:5d10:2cc6 with SMTP id ada2fe7eead31-4b25d9d6db3mr6386901137.6.1734175021972; Sat, 14 Dec 2024 03:17:01 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=209.85.222.51; envelope-from=mdjurfeldt@gmail.com; helo=mail-ua1-f51.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:19980 Archived-At: Thanks---I didn't know about your work on lua. Should be included in Guile proper IMO! (Some people complain about Guile being large. I think it would be good if there was a way to create a minimal Guile for those that want to ship Guile 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 a= ll > 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 s= krev: >> >>> 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 Py= thon >>> 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 an= d >>> rewrite. Perhaps it is then possible to fetch some insights and inspira= tion >>> 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 wit= h >>>> 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. >>>> >>>