unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guile User <guile-user@gnu.org>, guile-devel <guile-devel@gnu.org>
Subject: Re: Python on guile version 1.2
Date: Sun, 26 Apr 2020 20:21:41 +0200	[thread overview]
Message-ID: <CAGua6m08saHYoOMR0c4z66p3Rya6n6FsstJJ8o+z3MOJjP704A@mail.gmail.com> (raw)
In-Reply-To: <CAJ3okZ3vAFjKXQQ2E_A0n54oucqqeN2jnRcuiiTsrT5P=A6H2g@mail.gmail.com>

yes we can compile to module ast

python-on-guile compiles to macros in scheme that can be used without
compiling python from scheme. It targets
good or excellent interoperability between scheme and python

Yes works on guile 3.0. Also you need the most current dependencies see
readme

On Sat, Apr 25, 2020 at 6:27 PM zimoun <zimon.toutoune@gmail.com> wrote:

> Dear,
>
> Thank you for this interesting work.
>
>
> On Fri, 10 Apr 2020 at 15:41, Stefan Israelsson Tampe
> <stefan.itampe@gmail.com> wrote:
>
> > I'm pleased to announce python on guile 1.2. This version increases the
> > correctness of the parser as well as adding quite a number of system py
> > files that compiles as an example the we can now generate python ast from
> > the compiler. Also some work to improve speed have been done.
>
> What do you mean by "now generate python AST from the compiler"?
> Do you mean that now python-on-guile can compile the python module
> named ast ('import ast')?
>
>
> > Python on guile is both a python clone and a macro framework where python
> > objects and methods can be used in pure scheme code. There is some
> > significant  speed penalty due to this and a perfect match between python
> > modules and guile modules has not been achieved.
>
> Nice!
> If I understand correctly, python-on-guile is a first step similar to
> Hy [1] but using the Guile compiler tower instead of one of the Python
> interpreters, right?
>
> [1] https://docs.hylang.org/en/stable/
>
>
> > Sources (make sure to use the latest dependencies):
> > https://gitlab.com/python-on-guile/python-on-guile
>
> The current version in Guix is 0.1.0-3.00a51a2 using Guile 2.2.
> Does it work on Guile 3?
>
> And are the latest dependencies?
>
>
> All the best,
> simon
>


      reply	other threads:[~2020-04-26 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-10 13:41 Python on guile version 1.2 Stefan Israelsson Tampe
2020-04-25 16:27 ` zimoun
2020-04-26 18:21   ` Stefan Israelsson Tampe [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=CAGua6m08saHYoOMR0c4z66p3Rya6n6FsstJJ8o+z3MOJjP704A@mail.gmail.com \
    --to=stefan.itampe@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=zimon.toutoune@gmail.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).