From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: New object system? Date: Fri, 28 Jul 2017 20:34:22 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113d3c48153c35055564eeb6" X-Trace: blaine.gmane.org 1501266887 23028 195.159.176.226 (28 Jul 2017 18:34:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2017 18:34:47 +0000 (UTC) To: guile-devel , "guile-user@gnu.org" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 28 20:34:42 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbA5v-0005bw-HV for guile-devel@m.gmane.org; Fri, 28 Jul 2017 20:34:39 +0200 Original-Received: from localhost ([::1]:49554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbA61-0002XI-5j for guile-devel@m.gmane.org; Fri, 28 Jul 2017 14:34:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbA5j-0002We-N9 for guile-devel@gnu.org; Fri, 28 Jul 2017 14:34:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbA5i-00082m-5G for guile-devel@gnu.org; Fri, 28 Jul 2017 14:34:27 -0400 Original-Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:33317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbA5h-0007zi-W1; Fri, 28 Jul 2017 14:34:26 -0400 Original-Received: by mail-oi0-x22a.google.com with SMTP id a9so140268469oih.0; Fri, 28 Jul 2017 11:34:23 -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=eyrb30DhFgAZeyPYs/UTsJot0zgOpsKgreukUxnxGnw=; b=DxIRFATbcz+t1LfIWNCFqlqKD4eRK6UhjG0jMHVR2afBRp0xKLMAM6moyYstI6G8Bv 8HrCX7OB/667cZ6l27TVVVqcRzNnn/Sxl2eGVETS477/O0G6pVZbaA/b5RvYD9WmD+nQ PfuC23mB91SGwFgSTfc+KdzOfGXrhsRnDFjNjmQ6UTMinzsWv9izpCx57NL9umSISv6A PxN1Wn7lBrYMHVzgNNDnnEyu/Jh3foUVLFKr7DXNcC2NBy7U36R+pNPlcipeMVbelUZJ 1rMKdi2SlzN50wAjDrarK4XppFyU0hj2YnYcVFazZfCMe+wUXR2HzmvISV1MzPwCiTEu Uhnw== 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=eyrb30DhFgAZeyPYs/UTsJot0zgOpsKgreukUxnxGnw=; b=bRPcLdDhwYQwjOLxWMWSiKKT+DrW/IYxX8YeuJ2Jk3e2qLISwnOJlM4ByuUfJxdzJ/ fcOzatDWeq8iJZDlQuKfLmsrhzJK9UXtmV/k+5n9D1hue1+4Mj3EwhXw2+4cdXKeO32c 0jV5LQ4VTMFSJLyaZHaCweHvmrgb0nPbiKeDUf6RnvameB7WJOgVoSxm9p19J12xfWig Dj5UwPpSJ7zYeYnioCczMQULYmeNOM/lsJVRU6R8zO36ssmcQmeD6cOgY7HvR3u7vMCI BuVKGslBgis8+1fC1/AXbaCS28duUiWPcWuOdKkEOntf3jbIQ7Fg+xUai1sbImzzjTbf rbkA== X-Gm-Message-State: AIVw112Law8TT8ixenhNk0ld71lG8cGXxwyzwGth71KPxW9lnQLASP9c ezh2YTwEjh7bKcZCzM8LK6/2kkjPMlyZ X-Received: by 10.202.98.9 with SMTP id w9mr8418619oib.80.1501266863010; Fri, 28 Jul 2017 11:34:23 -0700 (PDT) Original-Received: by 10.202.71.6 with HTTP; Fri, 28 Jul 2017 11:34:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22a X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19251 gmane.lisp.guile.user:13992 Archived-At: --001a113d3c48153c35055564eeb6 Content-Type: text/plain; charset="UTF-8" Hi all. We have goops, but I wondered how a functional object system can look like and after some thought I modeled together functional and python together with scheme. you can find the result at http://www.c-lambda.se/functional-python.html If you want to discuss, continue with the email or on the site. I would like to have a functional object system for guile per default. I have a parser for python3 and will try to compile python to the guile VM. This study is an approach to add features to python that are not in. In the end I will add mutating objects as well so that one can mix them. I also plan to make a system where the property of mutability can flow in the execution path and so that dynamically if specifically requested nothing will mutate and only new data structure will be created someting like (define newobj (do-not-mutate thunk)) But that's for the future. Have fun! --001a113d3c48153c35055564eeb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all. We have goops, but I wondered how a functional obj= ect system can look like and after some thought I modeled together function= al and python together with scheme. you can find the result at


If you= want to discuss, continue with the email or on the site. I would like to h= ave a functional object system for guile per default.

<= div>I have a parser for python3 and will try to compile python to the guile= VM. This study is an approach to add features to python that are not in. I= n the end I will add mutating objects as well so that one can mix them.

I also plan to make a system where the property of mu= tability can flow in the execution path and so that dynamically if specific= ally requested nothing will mutate and only new data structure will be crea= ted someting like

(define newobj (do-not-mutate th= unk))

But that's for the future.
Have fun!
--001a113d3c48153c35055564eeb6--