From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards Date: Fri, 9 Mar 2007 20:12:01 -0600 Organization: Jacob's private Usenet server Message-ID: References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> <545bgvF1ttrphU1@mid.individual.net> <1495406.QZvfpqijrQ@linux1.krischik.com> <6dy7mn3hhu.fsf@hod.lan.m-e-leypold.de> <1172328891.5496.62.camel@localhost.localdomain> <1173096982.3712.37.camel@localhost> <8utzwzzv0v.fsf@hod.lan.m-e-leypold.de> <1173185771.11841.69.camel@localhost> <11wk29zr0.fsf@hod.lan.m-e-leypold.de> <1173305192.29628.82.camel@localhost> <1173447204.5618.131.camel@localhost.localdomain> <8g649apcio.fsf@hod.lan.m-e-leypold.de> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1173492623 4587 69.95.181.76 (10 Mar 2007 02:10:23 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 10 Mar 2007 02:10:23 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Xref: g2news1.google.com comp.lang.ada:14445 Date: 2007-03-09T20:12:01-06:00 List-Id: "Markus E Leypold" wrote in message news:8g649apcio.fsf@hod.lan.m-e-leypold.de... ... > I wouldn't want to use Ada as an interactive command language. Well, I would. Down with all non-Ada syntaxes!! ;-) Seriously, we did in fact design an Ada command language for our debugger. It works quite well. (I think others have done similar things.) Of course, it's neither full Ada and it allows leaving out "noise" characters. And I believe we required one statement per line (that allows a lot more abbreviations). You can type: Step_Line (Count => 20); or sl 20 (abbreviated command name; unneeded parens and semicolon omitted) Of course, if something is ambiguous, you have to use a longer form. We originally did this because we wanted the macro language for the debugger to be as close to Ada as possible - that makes the macros readable and maintanable. Usually, you use shorter forms from the command line (typing too much is awful). Randy.