From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: Reuseable Scientific Types Package
Date: 2000/07/12
Date: 2000-07-12T00:00:00+00:00 [thread overview]
Message-ID: <Pine.BSF.4.21.0007120805010.4351-100000@shell5.ba.best.com> (raw)
In-Reply-To: 01HW.B5917CD403727A5405DE478C@news.pacbell.net
On Wed, 12 Jul 2000, David Kristola wrote:
> On Mon, 10 Jul 2000 13:51:06 -0700, Howard W. LUDWIG wrote
> (in message <396A373A.1B80329F@lmco.com>):
>
> > David Kristola wrote:
> >> A third option...
> >>
> >> I too needed types with units. With a little bit of work, i created a
> >> program to auto-generate a types package with appropriate operators for
> >> all of the types needed (an extensive list, which caused the number of
> >> operators to explode).
>
> {snip}
> ... snip again ...
>
> I think the idea of having a code generator might be reusable.
> A user could enter in the set of types she is interested in
> and produce a types package with just those types. Any
> individual project is likely to be limited in the units that
> are important.
Actually, the idea of a code generator is extremely useful, but I thought
macros were considered a non-no in the Ada community. A powerful macro
system would allow you to do a lot more than just handle systems of
units. You might want to examine some other macro and preprocessing
systems, like those of Common Lisp, Scheme, Dylan, M5, and CamlP4.
-- Brian
next prev parent reply other threads:[~2000-07-12 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3963A48E.6A2AF132@gbr.msd.ray.com>
[not found] ` <JpR85.123$R31.66951@nnrp2.sbc.net>
[not found] ` <39646F40.A8277C4E@linuxchip.demon.co.uk>
[not found] ` <01HW.B58C5C88023DF64C05DE478C@news.pacbell.net>
[not found] ` <396A373A.1B80329F@lmco.com>
2000-07-12 0:00 ` Reuseable Scientific Types Package David Kristola
2000-07-12 0:00 ` Brian Rogoff [this message]
2000-07-13 0:00 ` David Kristola
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox