guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Compiler Tower] A better Python plan


From: Nala Ginrut
Subject: Re: [Compiler Tower] A better Python plan
Date: Sat, 14 Dec 2024 21:03:25 +0900

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 via email to

[Prev in Thread] Current Thread [Next in Thread]