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 20:08:05 +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="38116"; 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 12:08:50 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 1tMQ0w-0009kJ-JI for guile-user@m.gmane-mx.org; Sat, 14 Dec 2024 12:08:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMQ0V-0004OX-P0; Sat, 14 Dec 2024 06:08:23 -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 1tMQ0U-0004N0-A8 for guile-user@gnu.org; Sat, 14 Dec 2024 06:08:22 -0500 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMQ0Q-0004xQ-Uc for guile-user@gnu.org; Sat, 14 Dec 2024 06:08:21 -0500 Original-Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2f13acbe29bso2161588a91.1 for ; Sat, 14 Dec 2024 03:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734174497; x=1734779297; 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=oV/Fb6B1DDsLRcNVgwkW0OTPOyNkDapAouaqJLdwJp8=; b=RVx+XVT25bfK2CS/rb2Y2oe03opbygnAWeOh73ITn2CTkahan+ov76FA8kPAgrRx71 UcR9h/V140DwpdpOldCWkgaxajaXnRC1xoDFp/V+rsYWTnsTe7psbdqpif7+GN8MArBb rFJNE5OzOv7KsFRwwjbG/n/N79y/TXJjMy6ja0JVC8Pe/dO2AP0Apn2BJegT6MlZc0l8 iK3oHe6kKvj0fdj8CLKdvxhBP5ZUAxUgwhDd1RE+OYgSVqUhgIknc60DrCa818AbF1Gd nn4MCTM+6ujvS9Q5n4ha/OtGBK3ztJDU6bbUH2jxjAAjS1SuNA4AZqRFa5jqXunFFK3B XMkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734174497; x=1734779297; 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=oV/Fb6B1DDsLRcNVgwkW0OTPOyNkDapAouaqJLdwJp8=; b=D8SGPYls9ge5UIn6gvChH7WJC1echprJcl73goljh6RR7Xq0HZJK/uV6VlEnpY/5x9 dAN0U8LnLbP7qrxe0aBhxXQuw8W3u1ggniwiLPB/GCa+UAlCLHlzc0qLk23iur9Rw41I dCefPYiOZHjcp/q0VIE5yb0T1lGJ5bqiicQwHuCHPMARL7exZS0wTg/dkxowPYKkTQ4b FRYVpT5sOE8VGJq7puO5G2l5B9n2UsyUwRl2vTfMsIcGVYM87auW4tOgi9a5gPVzJKUX IIQus6LOKkRW+sq2i5tIwGS6dsLF00thnFskhK2I2v4SbgdMju2Aj4Q1Bzvpp/9ejZtk t7yA== X-Gm-Message-State: AOJu0YyMGSyZ1fv+lqTy/Vr99Z52n7RsoOWXERwNHRqpLxO113hhqgaS 5qRNymDm8uHJ/ckdROtgjVh4kL8tZJfHtmHTibymjVHcN1WczjQpt7VxsoHWDDYQkaLvxsz1XXe a4sZd2nZY0W8X0yNMlRIKMI/4BV019Q== X-Gm-Gg: ASbGnctQM5ZMGKIBIFItPQ5b+X5GfNcs7XQs4Wy5t+nIJbO+b6ujIvc71NqIWg6K7zW BdNRAA198Cu6zXL95WUEJTkUDKptqTVeZBVDWhSJ40cjwuT+cQjyDPKSQvoLaVoS1Ms/ykQ== X-Google-Smtp-Source: AGHT+IE4B32t0jV8GZQ61wj9BT3Pt5Le+t1St6a3zBKMnXHoTuDOZLlydqu6mVfzStp6qLsojB5C1AybIZPnA1ZQHJM= X-Received: by 2002:a17:90b:3d03:b0:2ee:94a0:255c with SMTP id 98e67ed59e1d1-2f2919b9ed0mr8795735a91.13.1734174497073; Sat, 14 Dec 2024 03:08:17 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=nalaginrut@gmail.com; helo=mail-pj1-x102b.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:19979 Archived-At: 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 sk= rev: > >> 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 Pyt= hon >> 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 inspirat= ion >> 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. >>> >>