Re: [Compiler Tower] A better Python plan

Nala Ginrut <[email protected]>
Newsgroups gmane.lisp.guile.user
Message-ID <CAPjoZoeVR6Ouv7bOxZN3dXTxHk-JXywL0Ffh0fTwXxLAyEs=VQ@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 <[email protected]> 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 <[email protected]> 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 <[email protected]>
>> 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 <[email protected]> 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 <[email protected]>
>>>> 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.
>>>>>
>>>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.