Re: Implementing classes

kszabo@bcml120x.ca.nortel.com (Kevin Szabo)
10 Sep 2005 12:33:51 -0400

          From comp.compilers

Related articles
Implementing classes vcrobe@yahoo.com (2005-08-16)
Re: Implementing classes Wienczny@Web.de (Stephan Wienczny) (2005-08-21)
Re: Implementing classes der_julian@web.de (Julian Stecklina) (2005-08-21)
Re: Implementing classes nathan.moore@cox.net (Nathan Moore) (2005-08-31)
Implementing classes jatinb@noida.hcltech.com (Jatin Bhateja, Noida) (2005-09-02)
Re: Implementing classes Juergen.Kahrs@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2005-09-04)
Re: Implementing classes kszabo@bcml120x.ca.nortel.com (2005-09-10)
Re: Implementing classes darnottJUNK@rogers.com (Doug Arnott) (2005-09-11)
Re: Implementing classes oliver@first.in-berlin.de (Oliver Bandel) (2005-09-11)
Re: Implementing classes david.boyle@gmail.com (2005-09-14)
Re: Implementing classes der_julian@web.de (Julian Stecklina) (2005-09-14)
| List of all articles for this month |
From: kszabo@bcml120x.ca.nortel.com (Kevin Szabo)
Newsgroups: comp.compilers
Date: 10 Sep 2005 12:33:51 -0400
Organization: Nortel, Carling Campus
References: 05-09-011
Keywords: OOP
Posted-Date: 10 Sep 2005 12:33:51 EDT

If you are creating a 'new' language you should look hard at the goals
you are trying to achieve. If it is to just learn about the process,
then please have a look at 'little smalltalk' by Timothy Bud. It is a
*small* implementation of smalltalk, a pure OO language.


If you want to see how to turn C into an OO language (but not C++) you
may want to look at Brad Cox's book:


Object-oriented programming: An evolutionary approach by Brad J Cox


http://net.gurus.com/bk/a/0201103931


Although an older book, it is an excellent introduction because it
doesn't assume the reader has OO experience. It tells you about ISA
and KINDOF and SUBCLASS/SUPERCLASS; all good stuff.


And finally, if you are trying to contribute to the state of the art,
by creating a new language to solve interesting problems, you should
read all that you can. Smalltalk the language and implementation.
The C++ book by Stroustrup, the JAVA whitepapers. RUBY. Python. Try
programming in the languages.


Have fun!
Kevin Szabo
[It describes Objective C, originally written as a preprocessor that
compiled into plain C, now available as part of the GCC suite. It's
a nice language, less ambitions than C++ and without C++'s barocities.
-John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.