delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1998/01/06/05:00:28

From: dallasii AT kincyb DOT com
Date: Tue, 6 Jan 1998 01:52:14 -0700
Message-ID: <TCPSMTP.18.1.6.1.52.14.2375661496.4902731@kincyb.com>
Subject: RE: Answers!
To: opendos AT delorie DOT com

WW> From: WonderWhim <WonderWhim AT aol DOT com>
WW> Message-ID: <e49f37cf DOT 34afc1f1 AT aol DOT com>
WW> Date: Sun, 4 Jan 1998 12:07:58 EST
WW> To: opendos AT delorie DOT com
WW> Subject: Re: Answers!
WW> Organization: AOL (http://www.aol.com)
WW> X-Mailer: Inet_Mail_Out (IMOv11)
WW> X-Mailing-List: opendos AT delorie DOT com
WW> X-Unsubscribes-To: listserv AT delorie DOT com
WW> Precedence: bulk
WW> 
WW> In a message dated 98-01-03 20:57:06 EST, you write:
WW> 
WW> > 
WW> >  > Basic to C translator?  Are you fishing for flames?
WW> >  
WW> >  That's actually not a bad idea.  Most BASIC compilers are terrible at
WW> [...]
WW> 
WW> There is at least one Basic to C converter that I know of.  However, It's a

WW> unix program, so you'll have to change a few things to get it to compile
WW> right.  It's called qb2c, and can be found at
WW> sunsite.unc.edu/pub/Linux/devel/lang/basic/qb2c.tgz  It handles QuickBasic
WW> syntax, but no sound or graphics.  I've never used it, so I can't give a
WW> reccomendation.
WW> 
WW> --
WW> WW
WW> 
WW> 
WW> 

Good news.
I just remembered the DDS-BASIC interpreter in "Expert C Programming 
(Deep C Secrets)" by Peter Van Der Linden, SunSoft/Prentice Hall,
ISBN0-13-177429-8, pages 225-232, page 231 specificly.
Yes, only 1,500 bytes (< 1 page) long, a 3 page user manual. :-)

Bad news.
It was entered in the International Obfuscated C Code Competition 
(IOCCC). :-(
Van Der Linden states it's worth cleaning up to study an amazing program.

I recall about 10 years ago, a possibly even briefer BASIC to FORTH
compiler by Charles Moore was published in "Forth Dimension",
only it was being studied as a marvel of elegant code instead
of being entered in an obfuscated code contest.
(But then some (not me) would argue that Forth is by definition
obfuscated. :-) )

I assume the ReXX interpreter for DOS the original poster found
was BREXX?   If not, then BREXX is another possiblity, contact
me for info.


Regards,
Dallas E. Legan II
(562) 862 - 4854 ext. '*'

                     D  <-   Parse this, Spambots! :-)
                     A  ******************************************************
                     L       "But I found that the Rulers were
L      L      A      L        ordinary men, too, and frequently 
E      E      W      A        as bewildered as I was."
G      G      5      S        "Solution Unsatisfactory",
A      A      8      I        Robert A. Heinlein
N      N      5      I  ******************************************************
@  OR  @  OR  @  OR  @        I speak only for myself, and assume
A      F      L      K        full responsibility for my statements.
C      I      A      I
M      G      F      N
.      .      N      C
O      O      .      Y
R      R      O      B
G      G      R      .
              G      C
                     O
                     M



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019