comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Tcl2ada: a utility for Tash users
Date: 1999/03/19
Date: 1999-03-19T00:00:00+00:00	[thread overview]
Message-ID: <7csuv7$114$1@platane.wanadoo.fr> (raw)

I just released a small utility on Adalog's components page
(http://pro.wanadoo.fr/adalog/compo2.htm) that may be useful to Tash
users.

Excerpt from the "usage" in the documentation:

   tcl2ada [<input-file> | - ] [<output-file>]

If no argument is provided, TCL2ADA reads from standard_input and
writes to standard_output. If only one argument is given, it is taken
as the input file, and output goes to standard_output. If you need to
read standard_input and output to a file, use "-" as the name of the
input file.

TCL2ADA copies its input file to its output file. If it encounters an
input line of the form:

--tcl2ada tcl_file

it includes the file "tcl_file" as a properly formated Ada string.
Leading blanks, empty lines, and tcl comments are removed from the tcl
file, in order to save space in the Ada program. Ascii.LF characters
are inserted in place of line breaks.


License is Adalog's "advertiseware" license, i.e. you can do what you
want with it provided you don't remove the copyright notice, you keep
the small ad for Adalog, and you mark your modifications as not
provided by Adalog.

Enjoy!
---------------------------------------------------------
           J-P. Rosen (Rosen.Adalog@wanadoo.fr)
Visit Adalog's web site at http://perso.wanadoo.fr/adalog







                 reply	other threads:[~1999-03-19  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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