[comp.binaries.ibm.pc.d] Looking for a BASIC compiler

snsrjth@nmtsun.nmt.edu (<<Jeff>>) (12/07/88)

----
Thanks to those who answers my earlier posting requesting to find a
Disassembler program.
----

I am, however, still looking for a BASIC compilier if such a thing exists.
I would like to get programs that normally run on BASICA or GWBASIC to be
converted into executable files (ie, PROG.BAS -> PROG.EXE). I have seen
such compiliers for other systems and I wonder if there is one available
for the IBM PC. If anyone has any information of how, or if, I can obtain
such a thing, let me know via EMAIL. Thanks in advance. :-)

				<<Jeff>>
				snsrjth@nmtsun.nmt.edu

  



-- 
+--------------------------------------------------------------------------+
| <<Jeff>>                          |     snsrjth@nmtsun.nmt.edu           |
|                                   |     {...unmvax!nmtsun!snsrjth}       |
+--------------------------------------------------------------------------+

greenber@eniac.seas.upenn.edu (Brian Greenberg) (12/07/88)

In article <1600@nmtsun.nmt.edu> snsrjth@nmtsun.nmt.edu (<<Jeff>>) writes:
>I am, however, still looking for a BASIC compilier if such a thing exists.
>I would like to get programs that normally run on BASICA or GWBASIC to be
>converted into executable files (ie, PROG.BAS -> PROG.EXE). I have seen

why not try Turbo Basic, Copyright 1987, Borland International, Inc.  It
won't accept BASICA or GWBASIC files as is, but with a little trickery, 
it can be done.

Basically, (no pun intended), it involves listing the file to the disk.
I'm sure there are a number of ways to do this, I just imported my program
into Sidekick's notepad (it was only one screen long - I was testing this).
Once it's loaded, Turbo Basic will read the text file as a program, and
subsequently compile it (to memory or to an .EXE file), as well as run it.

Later,
!>
!>g
(Brian Greenberg)

snsrjth@nmtsun.nmt.edu (<<Jeff>>) (12/07/88)

In article <6588@netnews.upenn.edu>, greenber@eniac.seas.upenn.edu (Brian Greenberg) writes:
> why not try Turbo Basic, Copyright 1987, Borland International, Inc.  It
> won't accept BASICA or GWBASIC files as is, but with a little trickery, 
> it can be done.

Thanks for the information. I wonder, however, if there is one available
in Public Domain. Does anyone out there know of such a thing?

				<<Jeff>>
				snsrjth@nmtsun.nmt.edu


-- 
+--------------------------------------------------------------------------+
| <<Jeff>>                          |     snsrjth@nmtsun.nmt.edu           |
|                                   |     {...unmvax!nmtsun!snsrjth}       |
+--------------------------------------------------------------------------+

mju@m-net.UUCP (Marc Unangst) (12/14/88)

In article <6588@netnews.upenn.edu> greenber@eniac.seas.upenn.edu.UUCP (Brian Greenberg) writes:
>Basically, (no pun intended), it involves listing the file to the disk.

Actually, with most BASIC interpreters for the IBM, you can save a file
in ASCII format (which is what Turbo Basic requires, as well as Microsoft
QuickBasic, and Microsoft Basic, and...).  This is done by typing

	SAVE "FOO",A

where you substitute your filename for FOO.  Unless you want to write over
your old program, you should pick a different filename.

-- 
"Don't find a fault, | Marc Unangst
find a remedy."      | UUCP: mju@m-net.ann-arbor.mi.us
  -Henry Ford        | UUCP path: ...!uunet!mailrus!clip!m-net!mju
---------------------+ Internet: mju%m-net%clip@umix.cc.umich.edu