[comp.sources.wanted] Simple Interpreter Source Wanted

neilh@microsoft.UUCP (Neil Hoopman) (10/12/89)

I'm looking for some source to a simple interpreter; like a BASIC
interpreter.  Minimum features would be:

  * int and string variables
  * subroutine calling
  * written in C

Any suggestions would be greatly appreciated.  

(Yeah, yeah, I know-- "You need a BASIC interpreter?  
But you're from Microsoft!" :-)  I'm working on a Macintosh
program and I'm looking for a simple, non-proprietary
language to use as scripting language.  NOT a Microsoft
product, but coming soon to shareware!)

Thanks in advance,
--Neil

----------------------------------------------------------------------------
Neil Hoopman - Microsoft Corp.                         uunet!microsoft!neilh
------------------------------                  microsoft!neilh@uunet.UU.NET
"Carpe Diem. Seize the day.         microsoft!neilh@beaver.cs.washington.edu
 Make your lives extraordinary."    ----------------------------------------
 - Dead Poets Society                  Neil?  Neil who?  Posted what?  When?
----------------------------------------------------------------------------

lhf@aries5.uucp (Luiz H de Figueiredo) (10/12/89)

In article <8007@microsoft.UUCP> neilh@microsoft.UUCP (Neil Hoopman) writes:
>I'm looking for some source to a simple interpreter; like a BASIC
>interpreter.  Minimum features would be:
>
>  * int and string variables
>  * subroutine calling
>  * written in C

Try ExTalk, described in BYTE Nov 88.
The source is available from several places, including simtel.
-------------------------------------------------------------------------------
Luiz Henrique de Figueiredo		internet: lhf@aries5.uwaterloo.ca
Computer Systems Group			bitnet:   lhf@watcsg.bitnet
University of Waterloo
-------------------------------------------------------------------------------
eof

jfh@rpp386.cactus.org (John F. Haugh II) (10/16/89)

In article <624@maytag.waterloo.edu> lhf@aries5.UUCP (Luiz H de Figueiredo) writes:
>In article <8007@microsoft.UUCP> neilh@microsoft.UUCP (Neil Hoopman) writes:
>>I'm looking for some source to a simple interpreter; like a BASIC
>>interpreter.  Minimum features would be:
>>
>>  * int and string variables
>>  * subroutine calling
>>  * written in C
>
>Try ExTalk, described in BYTE Nov 88.
>The source is available from several places, including simtel.

What about Phil's BASIC?  I use it on my 386 and on the 68020 I had
before at work.  It's a pretty powerful BASIC with only a few bugs
and ``features''.

L.sys line for rpp386 is

rpp386 Any ACU 2400 15128328835 in:--in:--in: uucp

The file names and block sizes are

  46 /usr/archive/basic/bas.shar.1.Z
  60 /usr/archive/basic/bas.shar.2.Z
  46 /usr/archive/basic/bas.shar.3.Z
  52 /usr/archive/basic/bas.shar.4.Z
  46 /usr/archive/basic/bas.shar.5.Z

Don't forget to not use wildcards.
-- 
John F. Haugh II                        +-Things you didn't want to know:------
VoiceNet: (512) 832-8832   Data: -8835  | The real meaning of MACH is ...
InterNet: jfh@rpp386.cactus.org         |    ... Messages Are Crufty Hacks.
UUCPNet:  {texbell|bigtex}!rpp386!jfh   +--------------------------------------