unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* [Compiler Tower] A better Python plan
@ 2024-12-14  6:37 Nala Ginrut
  2024-12-14 10:23 ` Mikael Djurfeldt
  0 siblings, 1 reply; 6+ messages in thread
From: Nala Ginrut @ 2024-12-14  6:37 UTC (permalink / raw)
  To: Guile User

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Compiler Tower] A better Python plan
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael Djurfeldt @ 2024-12-14 10:23 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: Guile User, Mikael Djurfeldt

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.
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Compiler Tower] A better Python plan
  2024-12-14 10:23 ` Mikael Djurfeldt
@ 2024-12-14 10:47   ` Mikael Djurfeldt
  2024-12-14 11:08     ` Nala Ginrut
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael Djurfeldt @ 2024-12-14 10:47 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: Guile User, Mikael Djurfeldt

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.
>>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Compiler Tower] A better Python plan
  2024-12-14 10:47   ` Mikael Djurfeldt
@ 2024-12-14 11:08     ` Nala Ginrut
  2024-12-14 11:16       ` Mikael Djurfeldt
  0 siblings, 1 reply; 6+ messages in thread
From: Nala Ginrut @ 2024-12-14 11:08 UTC (permalink / raw)
  To: mikael; +Cc: Guile User

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.
>>>
>>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Compiler Tower] A better Python plan
  2024-12-14 11:08     ` Nala Ginrut
@ 2024-12-14 11:16       ` Mikael Djurfeldt
  2024-12-14 12:03         ` Nala Ginrut
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael Djurfeldt @ 2024-12-14 11:16 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: Guile User

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.
>>>>
>>>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Compiler Tower] A better Python plan
  2024-12-14 11:16       ` Mikael Djurfeldt
@ 2024-12-14 12:03         ` Nala Ginrut
  0 siblings, 0 replies; 6+ messages in thread
From: Nala Ginrut @ 2024-12-14 12:03 UTC (permalink / raw)
  To: mikael; +Cc: Guile User

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.
>>>>>
>>>>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-14 12:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).