unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* New object system?
@ 2017-07-28 18:34 Stefan Israelsson Tampe
  2017-08-01 14:41 ` Matt Wette
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Israelsson Tampe @ 2017-07-28 18:34 UTC (permalink / raw)
  To: guile-devel, guile-user@gnu.org

[-- 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 --]

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

* Re: New object system?
  2017-07-28 18:34 New object system? Stefan Israelsson Tampe
@ 2017-08-01 14:41 ` Matt Wette
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Wette @ 2017-08-01 14:41 UTC (permalink / raw)
  To: Stefan Israelsson Tampe; +Cc: guile-user@gnu.org, guile-devel

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


> On Jul 28, 2017, at 11:34 AM, Stefan Israelsson Tampe <stefan.itampe@gmail.com> wrote:
> 
> 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 <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!

So no generics?  Looks cool.

Matt


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

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

end of thread, other threads:[~2017-08-01 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-28 18:34 New object system? Stefan Israelsson Tampe
2017-08-01 14:41 ` Matt Wette

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