comp.lang.ada
 help / color / mirror / Atom feed
From: "Samuel T. Harris" <samuel_t_harris@Raytheon.com>
Subject: Re: scripting/extension language for Ada (was : Re: tagged types extensions)
Date: 2000/02/05
Date: 2000-02-05T00:00:00+00:00	[thread overview]
Message-ID: <389D0413.8CA3BFB3@Raytheon.com> (raw)
In-Reply-To: 389BE992.C4745797@free.fr

Lionel Draghi wrote:
> 
> "Samuel T. Harris" wrote:
> >
> ...
> >
> > It occurs to me that an Ada interpreter can dispense with
> > many of the compile-time checks, relying instead upon a real
> > compiler to "verify" the script source is correct Ada.
> > This alone would enable an interpreter to simply expand
> > generics like macros and not bother with all the checks
> > concerning the instantiation.
> This is a good idea. But i am not optimist enough to think that even Ada
> run time checks could be enforced in a reasonably sized interpreter. But
> this is the goal.
> Another question is : should this script language be strictly compatible
> with Ada? Isn't there any short form that could be effective, and that
> prevent from direct recompilation with an Ada compiler?
> For example, it could make sense to consider Ada.Text_IO, or a Pattern
> Matching package implicitly "whithed" (and maybe even "used"!).

Taking a convenience lesson from the Rational R1000, when one
opened a command window (i.e. where one would enter operating
system commands) it the window initialized with a template
of a parameter-less Ada procedure with the most common
packages already withed. One simply enter the bits of
Ada code to fill in the procedure and away you went.
To this day I don't know how they compiled/linked/ran
such things so fast, but it was the fastest turn-around
I've ever seen. Given the now antiquated hardware Rational
used, I am still impressed with its performance as compared
to contemporary compilation/linking systems of today.

As to you questions, I'd say YES! Why would I want anything
similar to Ada. A subset would be acceptable, but any script
must be compilable. In this way, the scripting language
could be used for rapid prototyping things which will
eventually be compiled. Also, how many scripts have your
written which you wished would run faster? Ada scripts
can be later compiled for greater performance, albeit
taking more disk space :)

> >
> > If I recall correctly, the old Ada-Sage (now Sage-ST) did
> > include a very limited Ada interpreter. This allowed one
> > to quickly prototype the database interface with simple
> > controlling code with very rapid turn-around. Just the
> > sort of thing one needs with hashing out the user
> > interface on-line with the customer.
> Is it available?

There is an Sage-ST site which provides downloads but INEL
which produced AdaSage was a contract based organization.
They would port the system to any compiler/system for
a fee. I haven't been to the site lately so you'll have
to check yourself. Last time I looked the supported
compiler list was getting rather obsolete.

> 
> ________________________________________________________________________
> Lionel Draghi                                          http://attac.org/

-- 
Samuel T. Harris, Principal Engineer
Raytheon, Aerospace Engineering Services
"If you can make it, We can fake it!"




  reply	other threads:[~2000-02-05  0:00 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-27  0:00 tagged types extensions - language design question Vladimir Olensky
2000-01-27  0:00 ` Fraser
2000-01-27  0:00 ` Matthew Heaney
2000-01-27  0:00   ` Charles Hixson
2000-01-28  0:00   ` Vladimir Olensky
2000-01-28  0:00     ` Matthew Heaney
2000-01-28  0:00       ` Charles Hixson
2000-01-28  0:00         ` Matthew Heaney
2000-02-01  0:00           ` Charles Hixson
2000-02-01  0:00             ` Matthew Heaney
2000-01-29  0:00       ` Vladimir Olensky
2000-01-29  0:00         ` Matthew Heaney
2000-01-31  0:00           ` Vladimir Olensky
2000-01-31  0:00             ` Matthew Heaney
2000-01-31  0:00               ` Vladimir Olensky
2000-01-29  0:00         ` Matthew Heaney
2000-01-27  0:00 ` Laurent Guerby
2000-01-28  0:00   ` Vladimir Olensky
2000-01-28  0:00     ` Andy
2000-01-28  0:00       ` Vladimir Olensky
2000-01-29  0:00         ` Andy
2000-01-31  0:00           ` Vladimir Olensky
2000-01-28  0:00 ` Tucker Taft
2000-01-31  0:00   ` Vladimir Olensky
2000-02-01  0:00   ` Charles Hixson
2000-02-01  0:00     ` Matthew Heaney
2000-02-01  0:00       ` Brian Rogoff
2000-02-03  0:00         ` scripting/extension language for Ada (was : Re: tagged types extensions) root
2000-02-03  0:00           ` Brian Rogoff
2000-02-04  0:00             ` Ray Blaak
2000-02-04  0:00               ` Robert A Duff
2000-02-05  0:00                 ` blaak
2000-02-05  0:00                   ` Brian Rogoff
2000-02-09  0:00                   ` Robert A Duff
2000-02-09  0:00                     ` Ted Dennison
2000-02-10  0:00                       ` Samuel T. Harris
2000-02-05  0:00                 ` Ehud Lamm
2000-02-10  0:00                 ` Pascal Martin
2000-02-10  0:00                   ` Ray Blaak
2000-02-11  0:00                     ` David Starner
2000-02-12  0:00                       ` Pascal Martin
2000-02-12  0:00                       ` blaak
2000-02-15  0:00                         ` Brian Rogoff
2000-02-11  0:00                     ` scripting/extension language for Ada (we have an opportunity here) Tarjei T. Jensen
2000-02-11  0:00                       ` Robert I. Eachus
2000-02-12  0:00                         ` Pascal Martin
2000-02-13  0:00                           ` Robert I. Eachus
2000-02-16  0:00                             ` scripting/extension ... [off topic] Nick Roberts
2000-02-16  0:00                               ` Ray Blaak
2000-02-12  0:00                         ` scripting/extension language for Ada (we have an opportunity here) Tarjei Tj�stheim Jensen
2000-02-12  0:00                           ` root
2000-02-12  0:00                           ` Samuel T. Harris
2000-02-14  0:00                             ` Robert A Duff
2000-02-15  0:00                               ` Samuel T. Harris
2000-02-16  0:00                                 ` Robert A Duff
2000-02-16  0:00                                   ` Samuel T. Harris
2000-02-16  0:00                                     ` Robert A Duff
2000-02-17  0:00                                       ` Samuel T. Harris
2000-02-12  0:00                         ` blaak
2000-02-12  0:00                         ` Samuel T. Harris
2000-02-14  0:00                     ` scripting/extension language for Ada (was : Re: tagged types extensions) Robert A Duff
2000-02-04  0:00               ` Stanley R. Allen
2000-02-04  0:00                 ` Samuel T. Harris
2000-02-05  0:00                   ` Lionel Draghi
2000-02-05  0:00                     ` Samuel T. Harris [this message]
2000-02-06  0:00                       ` Lionel Draghi
2000-02-06  0:00                       ` Bryce Bardin
2000-02-08  0:00                         ` Samuel T. Harris
2000-02-05  0:00                 ` Ray Blaak
2000-02-05  0:00                 ` Lionel Draghi
2000-02-05  0:00             ` scripting/extension language for Ada (was : Re: tagged typesextensions) Lionel Draghi
2000-02-05  0:00           ` scripting/extension language for Ada (was : Re: tagged types extensions) Ehud Lamm
2000-02-06  0:00             ` Lionel Draghi
2000-02-06  0:00               ` Ehud Lamm
2000-02-06  0:00               ` scripting/extension language for Ada Terry Westley
2000-02-09  0:00               ` scripting/extension language for Ada (was : Re: tagged types extensions) Robert A Duff
2000-01-31  0:00 ` tagged types extensions - language design question Mark Lundquist
2000-02-01  0:00   ` Vladimir Olensky
2000-02-01  0:00   ` Simon Wright
2000-02-01  0:00   ` Ehud Lamm
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox