You can look for Pizza! Pizza is an extension to the Java language developed
by an australian university (whose name I can't remember). By this I mean
that every Java program is a Pizza program.
Pizza provides some very powerfull extension and is monitorized buy Sun for
future evolution of java itself.
One of the most important extensions are templates and pattern recognition.
And templates are better than c++ as you can restrict the generic datatype
to belong obey to some interface or other.
The Pizza compiler produces .class files that you can run on every 1.1.x or
2.x jvm. The compiler itself is written in Pizza and runs on the JVM.
Unfortunately I can't remember the URL but I think that a query like
java + pizza + compiler
on altavista will give you some good reference.
Bye,
V
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Nathan Meyers
> Sent: Thursday, January 21, 1999 18:17
> To: [EMAIL PROTECTED]
> Subject: Re: genclass templates for Java?
>
>
> [EMAIL PROTECTED] wrote:
> >
> > Nathan Meyers <[EMAIL PROTECTED]> writes:
> >
> > > Bernd Kreimeier wrote:
> > > >
> > > > Does anybody know of a (preferably Java-written - has to
> > > > work for Win32 too) tool that implements a template-like
> > > > text replacement for Java? Like the "genclass" script did
> > > > in the very early days of gcc-based C++?
> > > >
> >
> > Sounds like you could do this with just some creative usage of
> > cpp. E.g. name your template file <..>.javax (with #define and/or
> > include) and then run cpp to produce a <..>.java source file.
>
> Java parametric polymorphism is a pretty tall order for cpp to try to
> handle, but I'm willing to be convinced.
>
> This topic is quickly drifting off-topic. Bernd, if you could convince
> your ISP to stop bouncing mail from my ISP, perhaps we could continue
> the conversation without boring all of these bystanders.
>
> Nathan Meyers
> [EMAIL PROTECTED]
>