From: Ken A. <kan...@bb...> - 2003-03-09 19:04:35
|
We have not developed an object system for JScheme, however you can define Java classes in JScheme, see http://jscheme.sourceforge.net/jscheme/src/dclass/dclass.html for several ways. There is also http://jscheme.sourceforge.net/jscheme/src/dclass/record.scm for defining simple record structures more easily than using define-class directly. You can also define common lisp like methods. see http://jscheme.sourceforge.net/jscheme/src/elf/iterate.scm I do have a simple prototype based system that i use. I may check it is as an example. One of the main issues of an Object System for JScheme is how it would interact with Java classes. At 09:55 PM 3/8/2003 -0800, Boris Tschirschwitz wrote: >Hi. > >Assuming that my ignorance mostly stems from not having studied jscheme >long enough, I checked the list archives for answers, but I couldn't find >anything and the sf system seems to be really terrible. > >I am wondering about the following: If I want to program using classes and >objects, do I have to make all my structures Java classes, objects, ...? >I wonder if this might restrict me in manipulating these objects in the >scheme way. Yes, this sounds very vague, b/c I am not absolutely sure what >I am asking and hope that someone on the list might understand it better >than I do. >Would it be beneficial to use something like Meroon? > >Boris. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user |