#TP Type Compiler
10 messages in this thread
Is anybody familiar with Turbo Pascal on the IBM? I am looking for a compiler
for either C or Pascal with that sort of immediacy. I would like to be able to
call the compiler the instant I finish editing, and all syntax is handled righ
tthen and there, no seperate editor or anyhting. Do you understand what I mean?
Is there anything like that out there?
Alex
Alex,
You can call any of the C compilers on the Amiga after you are done
editing. The editor doesn't do syntax checking, the compiler does. In fact,
you can call the compiler from the editor if you wish as long as you are using
an editor with a DOS interface.
Is that what you want?
Don
Not exactly, I want it all integrated, RIGHT THERE. With my experience,
although limited, on the PC, I got used to writing up a program, hitting a key,
it compiles it,righ there, no exiting and linking, and debugging, and then
having to go back into the editor to fix up. It executes, then you see the
results, THERE, then it goes back into editor with the program there.
Alex
Alex,
As I stated in CO, depending on the editor, you can do the same thing
with C. You edit the file, while still in the editor, you then compile the
file…and if any errors pop up, you then re-edit and re-compile. Once it looks
ok, then you run it from within the editor.
With the editor I use (PTE), I can set up macros off 1 key to do
either.
Don
Ok, I'll think about that and look into Benchmark M-2.
Alex
Alex,
benchmark modula 2 has that environment. After editing, a single key will
compile the program, if any errors are found, a single key will step through
the errors, moving you to the appropriate place in the file, and once it
compiles properly, one key links, and another runs the program. All this is
from within the editor, and without having to set up any extra CLIs, etc. The
editor itself is a variation (improved0 MicroGNUEmacs.
Regards, Larry.
That doesn't look half-bad. I'll look at that.
Alex
Alex, With multi-tasking you can have an environment similar to what you
describe just by using multiple CLI's. I normally will have MicroGNUEmacs
running with one or more source or doc files loaded, another CLI for compiling
and linking, another CLI with Metascope running, and a few more laying around
for misc things. I also use ASDG's RRD (VD0:) for all my frequently used
commands, libraries, includes, etc. And use Conman, which gives you a command
history with editing features in each CLI I use. This type of environment
works very well for me, and would be close in function to the integrated
environment you described.
Glenn
But doesn't that take a bit of setting up? And with a 640 x 400 screen (max),
you can't have the necessary data out of what you describe onscreen
simultaneously. I am basically looking for a built-in editor.
Alex
Alex,
One of the nice things about the Amiga is that you can have essentially the
same thing without being stuck with an editor that isn't one you like. For
instance, if you happen to like Cygnus Editor, you can run that, make up a
batch file to do the compile, link, and/or run, and flip easily from one to
another function.
The main problem with an integrated editor/compiler is that though it is a
nice environment, to use the integration, you have to use that editor.
Regards, Larry.