comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Martin <pascal.martin@iname.com.nospam>
Subject: Re: scripting/extension language for Ada (was : Re: tagged types extensions)
Date: 2000/02/10
Date: 2000-02-10T00:00:00+00:00	[thread overview]
Message-ID: <Ogvo4.774$Qn4.18873@cmnws01.we.mediaone.net> (raw)
In-Reply-To: wcc4sborclg.fsf@world.std.com

In article <wccwvoe3tzw.fsf@world.std.com>, Robert A Duff <bobduff@world.std.com> wrote:
>> As Robert A Duff said :
>> "Scripting languages should encourage programs that are easy to
>> write, easy to understand, and easy to change."
> 
> I don't think *I* said that.  In fact, my opinion is that "easy to
> write" not important; the other two goals I agree with.


It seems to me that everytime I chose to use a scripting rather than
a compiled language, it was for a subset of the following reasons:

1- Execution speed is less important than development comfort.
2- Very flexible string manipulation is highly important, which means
     support for transparent string resizing, concatenation and data-
     driven split (for example, split a string into a list of words).
3- Easy to use regular expression engine. The drawback is that it
     seems there is no such engine that is also easy to debug with,
     including expect.
4- System operations must be easy: execute a program, retrieve its
     output, control its input.
5- Symbolic indexing (aka strings indexes, or hash tables).
6- Dynamic table resizing.
7- Very portable. Which means that the components of the environment
     must be available on all platforms. Not so easy when considering
     item 4, or when using commercial packages.
8- Include a GUI toolkit. We are in 2000: echo "Please enter..."/read
     don't cut it anymore. But the GUI must be optional.

All these features must be 100% interoperable, of course. Which
mandates using the same basic dynamic string package all over.

Garbage collection is basically mandatory. I am sure there are ways to 
implement a dynamic string package in Ada, it just appears that putting 
togethers many packages from separate sources is always complicated, 
because it is frequent that these packages do not define compatible types.
Using generic packages is somewhat incompatible with development comfort,
because you have to do the package integration work all by yourself. 
So, all the environment support should come as one single set.

Among the scripting languages/interpreters I have used:

the ugliest: command.com
the slowest: sh
the most confusing: perl
the most difficult to debug: Tcl (still using it, through, because of Tk :-)
the most obscure: VAX/VMS DCL (all these optional parameters.. )
the worst limitations: Microsoft Basic on TRS80 (I liked it at the time)

------------------------------------------------------------------
Pascal F. Martin.





  parent reply	other threads:[~2000-02-10  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 ` 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-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-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-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               ` 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
2000-02-06  0:00                       ` Bryce Bardin
2000-02-08  0:00                         ` Samuel T. Harris
2000-02-06  0:00                       ` Lionel Draghi
2000-02-05  0:00                 ` Ray Blaak
2000-02-05  0:00                 ` Lionel Draghi
2000-02-04  0:00               ` Robert A Duff
2000-02-05  0:00                 ` Ehud Lamm
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-10  0:00                 ` Pascal Martin [this message]
2000-02-10  0:00                   ` Ray Blaak
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                         ` Samuel T. Harris
2000-02-12  0:00                         ` blaak
2000-02-11  0:00                     ` scripting/extension language for Ada (was : Re: tagged types extensions) David Starner
2000-02-12  0:00                       ` blaak
2000-02-15  0:00                         ` Brian Rogoff
2000-02-12  0:00                       ` Pascal Martin
2000-02-14  0:00                     ` Robert A Duff
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               ` scripting/extension language for Ada Terry Westley
2000-02-06  0:00               ` scripting/extension language for Ada (was : Re: tagged types extensions) Ehud Lamm
2000-02-09  0:00               ` 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