unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Nala Ginrut <nalaginrut@gmail.com>
To: mikael@djurfeldt.com
Cc: Guile User <guile-user@gnu.org>
Subject: Re: [Compiler Tower] A better Python plan
Date: Sat, 14 Dec 2024 21:03:25 +0900	[thread overview]
Message-ID: <CAPjoZoeVR6Ouv7bOxZN3dXTxHk-JXywL0Ffh0fTwXxLAyEs=VQ@mail.gmail.com> (raw)
In-Reply-To: <CAA2Xvw+P71ZRGj4EGahzPugGUNDyCnRimJ7SdKV=JMqX3NrPQA@mail.gmail.com>

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 <mikael@djurfeldt.com> wrote:

> 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 PM Nala Ginrut <nalaginrut@gmail.com> 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 <mikael@djurfeldt.com>
>> 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ör 14 dec. 2024 11:23Mikael Djurfeldt <mikael@djurfeldt.com> 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 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 AM Nala Ginrut <nalaginrut@gmail.com>
>>>> 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.
>>>>>
>>>>


      reply	other threads:[~2024-12-14 12:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-14  6:37 [Compiler Tower] A better Python plan Nala Ginrut
2024-12-14 10:23 ` Mikael Djurfeldt
2024-12-14 10:47   ` Mikael Djurfeldt
2024-12-14 11:08     ` Nala Ginrut
2024-12-14 11:16       ` Mikael Djurfeldt
2024-12-14 12:03         ` Nala Ginrut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPjoZoeVR6Ouv7bOxZN3dXTxHk-JXywL0Ffh0fTwXxLAyEs=VQ@mail.gmail.com' \
    --to=nalaginrut@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=mikael@djurfeldt.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).