unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Lamy Jean-Baptiste <jiba@tuxfamily.org>
Subject: Romance 0.1
Date: Wed, 24 Apr 2002 19:39:10 +0200	[thread overview]
Message-ID: <20020424193910.A6355@localhost.club-internet.fr> (raw)

Hi Guilers !

I've just released Romance 0.1 at http://savannah.gnu.org/projects/romance/

Romance is an Object-Sharing protocol, like Corba, but it is dynamic and
much lighter !
It currently support :
 - Guile
 - Python
 - C

The Guile part of this new version now use GOOPS as object system ! Any
GOOPS object can be remotely accessed in Guile, Python or C.

An example of Romance in action :
; Server code :
(use-modules (oop goops))
(use-modules (romance))

(define-class <person> ()
  (name)
  (proof)
  )
(define-method (initialize (person <person>) args)
  (slot-set! person 'name  (car  args))
  (slot-set! person 'proof (cadr args))
  )
(define-method (get_description (person <person>) . args)
  (string-append (slot-ref person 'name) " is a " (slot-ref person 'proof)
".")
  )

(slot-set! romance 'me (make <person> "Jiba" "hacker"))


; client code :
(use-modules (oop goops))
(use-modules (romance))

(display (msg 'get_description (slot-ref romance 'me))) (newline)


Future improvement may include :
 - remote inheritance
 - more supported language (e.g. Java, Perl, Ruby, ...)
 - remote access to interesting library (GTK, Glade, ...)

Any comments are welcome !

Jiba

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


             reply	other threads:[~2002-04-24 17:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-24 17:39 Lamy Jean-Baptiste [this message]
2002-05-15  2:17 ` Romance 0.1 Thien-Thi Nguyen

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=20020424193910.A6355@localhost.club-internet.fr \
    --to=jiba@tuxfamily.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).