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.3 required=5.0 tests=BAYES_00,INVALID_MSGID,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e609c7fa99429296,start X-Google-Attributes: gid103376,public From: "Terry Westley" Subject: Announcing: new version of TASH and new website Date: 1999/11/16 Message-ID: <7meY3.8$15.831@wdc-read-01.qwest.net>#1/1 X-Deja-AN: 549287470 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: wdc-read-01.qwest.net 942764547 137.100.53.39 (Tue, 16 Nov 1999 08:02:27 MST) X-MSMail-Priority: Normal NNTP-Posting-Date: Tue, 16 Nov 1999 08:02:27 MST Newsgroups: comp.lang.ada Date: 1999-11-16T00:00:00+00:00 List-Id: A new version of TASH which supports Tcl/Tk 8.2 and the preliminary release of a new thick binding is now available (and still free) at the new TASH website: http://www.adatcl.com As part of this release, TASH was tested to work on Red Hat Linux 5.2, Sun Solaris 2.5.1, Windows 95, Windows 98, and Windows NT 4.0, compiling with GNAT 3.11p. TASH now has a new thick binding whose purpose is to: - simplify and "Ada-fy" the capabilities of the Tcl scripting language, - make access to Tcl facilities task-safe, and - manage memory allocation of TASH (Tcl) objects. Among other features, this binding makes it easy, in Ada, to perform regular expression pattern matching and C-style printf. Here's an example of using regular expression pattern matching: if Tash.Regexp.Match (File_Name, "\.(a|ada|ads|adb)$") then Ada.Text_IO.Put_Line (File_Name & " is an Ada source file"); end if; Here's an example of using C-style printf in Ada: Ada.Text_IO.Put_Line ( Tash.Lists.Format ("%s is %10.2f (%08x)", Tash.Lists.To_Tash_List (+"Half a pi", +1.5708, +82))); First, we make a Tash list composed of three Tash objects, a string, a float, and an integer. Then, we call Format to create and return a string with the formatted data embedded per the format string. This release of TASH does not include Windows binary libraries. These are built by GNAT with the Windows TASH makefiles. But, if you need them, I can build them and make them available for download on the website. The earlier thin binding is still part of TASH. It comes in two parts: - one with C data types and integer return codes, and - the other with Ada data types and use of exceptions. They both provide direct support for those data types and functions available in tcl.h and tk.h. -- Terry J. Westley, Software Systems Engineering Supervisor Veridian Engineering, Calspan Operations twestley@buffalo.veridian.com http://www.veridian.com/ ------------------------------------------------------- Author of TASH, an Ada binding to Tcl/Tk. Visit the TASH web site at http://www.adatcl.com. -------------------------------------------------------