comp.lang.ada
 help / color / mirror / Atom feed
From: vladimir@speedy.intrepid.com (Vladimir Vukicevic)
Subject: Re: Decent ADA compiler on a Mac
Date: 21 Mar 1995 04:33:02 GMT
Date: 1995-03-21T04:33:02+00:00	[thread overview]
Message-ID: <VLADIMIR.95Mar20203302@speedy.intrepid.com> (raw)
In-Reply-To: dewar@cs.nyu.edu's message of 19 Mar 1995 10:28:00 -0500

In article <3khii0$cgi@gnat.cs.nyu.edu> dewar@cs.nyu.edu (Robert
Dewar) writes:

>  The drag-and-drop paradigm for a compiler sounds nice (to compile
> just drop the source on the compiler), but in practice I think it
> would be a mmajor pain in the neck. This kind of mousing is nice for
> lots of things, but command line interfaces are ultimately much more
> appropriate for software development involving compilation and
> linking. That's why a decent compiler on the Mac is more work than
> it might be, you have to create your own command line interface of
> some kind. Yes, you could use MPW, but this is not available to most
> MAC users.

Actually, you could open up a terminal window using the communications
toolbox's terminal tools with your own display/send functions. Apple
actually supports opening up terminal windows this way; there's an
article in 'develop' issue 9 showing how to open up an output debug
window using terminal tools. It only supports output, but it could
easily be extended to support input as well. If this were done, you
would also get (with the right terminal tool) vt102 emulation,
allowing you to easily port nvi or other tty-oriented tools.

I tried to write a simple shell using this method a while ago, but
I couldn't figure out a way to run other programs. Perhaps gcc/cc1/etc.
could be modified to wait for an AppleEvent on startup, or even as
arguments to the OAPP (Open Application) event, which would contain
a string which would be the command-line arguments. These could then
run as faceless applications with no mac interface, and they could pass
error and other output back to the shell via AppleEvents. This would
require some (simple, I think) modifications to gcc/cc1/gnat1, etc. to
work in this way.

The problem that arises here is that, if this were done, the produced
ada apps might need a tty to display/get data. A mac-tty-specific version
of the gnarl might be needed to implement this. An application which
presents a Mac interface would not need to be linked against this version.
(This is assuming that you have a library that implemements versions
of unix stdio calls, like all of the currently available mac compilers do..
however, one might need to be written and placed under the GPL.)

	- Vladimir



  parent reply	other threads:[~1995-03-21  4:33 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-17  6:22 Decent ADA compiler on a Mac David John Toshack
1995-03-18  6:23 ` Vladimir Vukicevic
1995-03-19 15:28   ` Robert Dewar
1995-03-20 15:24     ` Bob Collins
1995-03-21  2:47       ` Gary McKee
1995-03-27 15:04         ` Bob Collins
1995-03-21 14:50       ` Larry Kilgallen, LJK Software
1995-03-21 17:35         ` David Weller
1995-03-22  3:50           ` Vladimir Vukicevic
1995-03-22  5:11             ` Michael Feldman
1995-03-22 16:00               ` Jon Spear
1995-03-23 21:55                 ` Robert Dewar
1995-03-25  3:04                   ` Michael Feldman
1995-03-25 21:29                     ` Larry Kilgallen, LJK Software
1995-03-28  4:50                       ` Larry Kilgallen, LJK Software
1995-03-28 12:36                     ` Fabrizio Oddone
1995-03-30  0:00             ` Lars Farm
1995-04-04  0:00               ` Robert Dewar
1995-03-20 20:55     ` Kevin F. Quinn
1995-03-21  4:33     ` Vladimir Vukicevic [this message]
1995-03-21  4:41     ` Matthew C. Sargent
1995-03-22  3:45       ` Vladimir Vukicevic
1995-04-02  0:00         ` Valentin Richter
1995-04-06  0:00           ` Robert Dewar
1995-04-07  0:00           ` Bob Collins
1995-03-22 14:00       ` Robert Dewar
1995-03-22 19:53         ` Larry Kilgallen, LJK Software
1995-03-24 15:48         ` David Weller
1995-03-25 21:22           ` Apex command-line (was Re: Decent ADA compiler on a Mac) Bob Kitzberger
1995-03-27 13:37             ` Robert Dewar
1995-03-30  0:00               ` Charles H. Sampson
1995-03-23 14:09       ` Decent ADA compiler on a Mac Arthur Evans Jr
1995-03-29  0:00         ` Matthew C. Sargent
1995-04-06  0:00           ` Robert Dewar
1995-04-07  0:00             ` Larry Kilgallen
replies disabled

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