[net.sources] Basic

kevenb (02/02/83)

Does anyone have a copy of unix bas, the BASIC which runs on
unix.  We have 4.1bsd and would like to find a copy of the
source code for our system.  Any help would be great, and even
an early version would be O.K.  Thanks.

Keven  Boyett

tektronix!tekid!kevenb

dwm@pur-ee.UUCP (Meeks) (10/12/84)

wanted ... sources for basic interpreter and/or compiler that will
run on UN*X or information leading to such animals. Thanks .......

Dan Meeks, pur-ee!dwm

jhull@spp2.UUCP (11/06/84)

Just an opinion...
anyone who ports BASIC to a UNIX system should be deleted from the
net.  For those who have programs in BASIC which they need, there
SHOULD be (but isn't as far as I know) a BASIC-TO-X translator (where
X is C or Modula-2 or ...) and the BASIC source should then be
trashed.

-- 
					Blecsed Be,

jhull@spp2.UUCP				Jeff Hull
trwspp!spp2!jhull@trwrb.UUCP		13817 Yukon Ave.
					Hawthorne, CA 90250

geoff@desint.UUCP (Geoff Kuenning) (11/08/84)

In article <228@spp2.UUCP> Jeff Hull writes:

>Just an opinion...
>anyone who ports BASIC to a UNIX system should be deleted from the
>net.  For those who have programs in BASIC which they need, there
>SHOULD be (but isn't as far as I know) a BASIC-TO-X translator (where
>X is C or Modula-2 or ...) and the BASIC source should then be
>trashed.

Have you ever seen the output of a Y-to-X translator?  Not a pretty sight,
especially to the person who gets stuck with maintaining the X code.
-- 

	Geoff Kuenning
	First Systems Corporation
	...!ihnp4!trwrb!desint!geoff

perry@heurikon.UUCP (Perry Kivolowitz) (11/09/84)

> Just an opinion...
> anyone who ports BASIC to a UNIX system should be deleted from the
> net.  For those who have programs in BASIC which they need, there
> SHOULD be (but isn't as far as I know) a BASIC-TO-X translator (where
> X is C or Modula-2 or ...) and the BASIC source should then be
> trashed.
> 
> -- 
> 					Blecsed Be,
> 
> jhull@spp2.UUCP				Jeff Hull
> trwspp!spp2!jhull@trwrb.UUCP		13817 Yukon Ave.
> 					Hawthorne, CA 90250

As far as opinions go, this one  should  have been kept in the mind that
spawned it. I wonder if the author of the above is merely a mental light
weight imitating the likes  of    Dijkstra.   In any case to denigrate a
person's good efforts based purely upon their field of endeavor (in this
case the language they have ported)  is tantamount to racism and indica-
tive of a pitifully small mind.

						     Perry S. Kivolowitz

bsa@ncoast.UUCP (Brandon Allbery) (11/10/84)

> Article <198@desint.UUCP>, from geoff@desint.UUCP (Geoff Kuenning)
+----------------
| In article <228@spp2.UUCP> Jeff Hull writes:
| 
| >Just an opinion...
| >anyone who ports BASIC to a UNIX system should be deleted from the
| >net.  For those who have programs in BASIC which they need, there
| >SHOULD be (but isn't as far as I know) a BASIC-TO-X translator (where
| >X is C or Modula-2 or ...) and the BASIC source should then be
| >trashed.
| 
| Have you ever seen the output of a Y-to-X translator?  Not a pretty sight,
| especially to the person who gets stuck with maintaining the X code.

We're a test site for JMI BASTOC, an MBASIC to C converter.  I have
so far found it easy to use and to put out rational C code; it replaces
BASIC commands with C functions, sometimes splitting it up (as PRINT
is a series of function calls in C), but easy to understand.  The only
problem I've found is no open-for-append function -- I will be adding
that to my copy (they included the converter lookup table source, so
you can add your own statements/functions; I have added the MBASIC-68K
SHELL command this way).  (Oh... two other problems, neither of which
are BASTOC's fault.  I had to change the INKEY_() library function (INKEY$)
to use TIOCSETP instead of TIOCSETN, because we don't have TIOCSETN;
and if you convert a program using ON ERROR GOTO, it outputs a statement-to-
line map at the end, via a switch... and our brain-damaged C compiler
overflows its switch tables.  Oh, how I long for a VAX! :-})

--bsa
-- 
  Brandon Allbery @ North Coast Xenix  |   the.world!ucbvax!decvax!cwruecmp!
6504 Chestnut Road, Independence, Ohio |       {atvax!}ncoast!{tdi1!}bsa
   (216) 524-1416             \ 44131  | E1439@CSUOHIO.BITNET (friend's acct.)
---------------------------------------+---------------------------------------
			`Confusion is my natural state.'

stuart@sdchema.UUCP (Stuart Oatley) (11/28/84)

Anyone out there who can supply me with a BASIC interpreter for 4.2 BSD?

Stuart Oatley
Dept. Chemistry, UCSD