From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Python on guile Date: Sun, 22 Mar 2020 22:28:01 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000023c25505a1783265" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="129235"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel , Guile User Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Mar 22 22:28:34 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jG894-000XWt-Hy for guile-devel@m.gmane-mx.org; Sun, 22 Mar 2020 22:28:34 +0100 Original-Received: from localhost ([::1]:50054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG893-0004Fu-HE for guile-devel@m.gmane-mx.org; Sun, 22 Mar 2020 17:28:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG88m-0004Cp-0K for guile-devel@gnu.org; Sun, 22 Mar 2020 17:28:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jG88k-0005lt-Qe for guile-devel@gnu.org; Sun, 22 Mar 2020 17:28:15 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:37761) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jG88k-0005lb-Jv; Sun, 22 Mar 2020 17:28:14 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id d1so12554706wmb.2; Sun, 22 Mar 2020 14:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wOkHHEeg+03jtjc3dHRCFfisS/uVkLgyOql6L0IYlz8=; b=dyMyI/fpXkurmW44FIFQ4ol30NNiMUtT/ncdJN1G01T6T9YPT6BlVlgqGQ98e3u03/ TTmL0lXf9XGroHy+njWRDHrbPYsnY5K2ncyJWjavU7UJ/nwQyk2vBAhd3iXR4dNtJrur Z32AMEKEx8LAjgYAj8zCt54E1WUuQ+km5paOHM4ib/WvOKuiqAWsTQYJ0cUboIpA3MHm i1qnCoAlKqY8B7GokRMa8Od7v450cWwuSe88P6kw1jJg8Z3yTNJAGDZ1vYRT6QTttQN1 faK3nUh75WkKVlFynu0T7lMqkvnUI8ESCuC0F49833iez+ypuOd4Rby9SlXH1PfDSHuf mDgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wOkHHEeg+03jtjc3dHRCFfisS/uVkLgyOql6L0IYlz8=; b=MPdTZOf+jggVRjcJh6bjfqyRyf+6XAVDrShd/j4nCD6DrdRdGCdxmRYjRtX6cVTkOA Lq/0Ka0uYgRq7lzDlvKdSNP7JWZC+SyK2o+GJQQPF+GRmmE/OtLNKrtT9dIjtR4E3Ovw MrNVvshW2+41cuoMh48YpshYFUmXg/OFC4qcZ32KGxHOzIHdXjygDOxb+b5BrI4Ud7RJ udI+sX8YcBDW9xOnE9pxck20s0ZkGbceWgpMG29B8yXf8eCR6hondXPnVkjKG792ztV2 qYxJcBCcE81pVv14H/FM0gdmFxQfghPgbCOufRptb2vfDR6qdF3Br26fmvKMmGXUCs8P Y9Sw== X-Gm-Message-State: ANhLgQ1GhHNZmK9/LR2GWz4oLgqhfqIkaUS0ScsC51EWqmd8GOGe6EAn OCaTNVELXues5pog/yjbeO0W482eJjeRBiIuRZgZuQ== X-Google-Smtp-Source: ADFU+vsevVzcgb0HSC/KBLZvTAaw9dk7SNr+jU1035xFvHUujTpDBC8KvdSEuCRKTzJgY4H3BdgJztaphtLgf/zTxJg= X-Received: by 2002:a1c:8149:: with SMTP id c70mr23495338wmd.123.1584912492903; Sun, 22 Mar 2020 14:28:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::333 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20457 gmane.lisp.guile.user:16336 Archived-At: --00000000000023c25505a1783265 Content-Type: text/plain; charset="UTF-8" Hi all, Now in corona times I'm working quite a lot with python-on-guile fixing bugs in the parser and compiler. Trying to add and test more python modules. My test case is to get IPython running on python on guile. Some of the python library code is very advanced python so getting it working is a great test case. My latest addition is to generate AST from python code. I have an AST of my own but the translation is quite transparent. I also managed to get the python typing.py module compiling and running. That was quite a challenge as it is quite a lot af meta programming that was hard to get working. I also have been working hard to get autocompilation of python code working for guile 3.0.0 and are quite happy now with it. I also sielenced a lot of variable warnings that was wrong. So no usually those warnings are spot on and very helpful. I will continue to work on getting better feedback in the compiler to detect errors. I also want to see if I can do anything with the ctypes package as well. I think the gule ffi is comparable to ctypes. Else I will continue to see what I can do with the ipython package. Happy Hacking --00000000000023c25505a1783265 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Now in corona times I'm wor= king quite a lot with python-on-guile fixing bugs in the parser and compile= r. Trying to add and test more python modules. My test case is to get IPyth= on running on python on guile. Some of the python library code is very adva= nced python so getting it working is a great test case. My latest addition = is to generate AST from python code. I have an AST of my own but the transl= ation=C2=A0is quite transparent. I also managed to get the python typing.py= module compiling=C2=A0and running. That was quite a challenge=C2=A0as it i= s quite a lot af meta programming that was hard to get working. I also have= been working hard to get autocompilation of python code working for guile = 3.0.0 and are quite happy now with it. I also sielenced a lot of variable w= arnings that was wrong. So no usually those warnings are spot on and very h= elpful. I will continue to work on getting better feedback in the compiler = to detect errors. I also want to see if I can do anything with the ctypes p= ackage as well. I think the gule ffi is comparable to ctypes. Else I will c= ontinue to see what I can do with the ipython package.

=
Happy Hacking
--00000000000023c25505a1783265--