unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Romance 0.1
@ 2002-04-24 17:39 Lamy Jean-Baptiste
  2002-05-15  2:17 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Lamy Jean-Baptiste @ 2002-04-24 17:39 UTC (permalink / 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


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

* Re: Romance 0.1
  2002-04-24 17:39 Romance 0.1 Lamy Jean-Baptiste
@ 2002-05-15  2:17 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2002-05-15  2:17 UTC (permalink / raw)
  Cc: guile-user

   From: Lamy Jean-Baptiste <jiba@tuxfamily.org>
   Date: Wed, 24 Apr 2002 19:39:10 +0200

   Any comments are welcome !

cool, i see from the romance web pages that there is persistence
support.  can you post an example where the object in question is a
shared object library (.so file)?

thi

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


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

end of thread, other threads:[~2002-05-15  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 17:39 Romance 0.1 Lamy Jean-Baptiste
2002-05-15  2:17 ` Thien-Thi Nguyen

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