unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: guile-devel <guile-devel@gnu.org>,
	"guile-user@gnu.org" <guile-user@gnu.org>
Subject: New object system?
Date: Fri, 28 Jul 2017 20:34:22 +0200	[thread overview]
Message-ID: <CAGua6m1tGAbfumnPkZOd8PY=7LNgKQ1OJN5ChzycdqwD=6gLWg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 1156 bytes --]

             reply	other threads:[~2017-07-28 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 18:34 Stefan Israelsson Tampe [this message]
2017-08-01 14:41 ` New object system? Matt Wette

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='CAGua6m1tGAbfumnPkZOd8PY=7LNgKQ1OJN5ChzycdqwD=6gLWg@mail.gmail.com' \
    --to=stefan.itampe@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=guile-user@gnu.org \
    /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).