Re: QBasic 1.1 language
- From: ArarghMail708NOSPAM@xxxxxxxxxxxxxxxxx
- Date: Thu, 23 Aug 2007 02:58:57 -0500
On Thu, 23 Aug 2007 07:03:09 -0000, Kristian
<news13102005@xxxxxxxxxxx> wrote:
Assalam alaikum brothers!Probably not. At least, I don't think so. QBasic is more or less a
QBasic 1.1 language is great for programming as it comes with a free
MS-DOS QBasic interpreter freely downloadable from Microsoft's web
site or found in your Windows 9x CD-ROM's olddos directory.
However, QBASIC.EXE lacks compiler features (and no, I don't want MS
QuickBASIC 4.5) and I'd like to know is it possible to design a
compiler in QBasic 1.1 in the QBASIC.EXE environment.
lame subset of PDS 7.0 (aka QuickBasic 7.0), IMO. It doesn't really
allow for a large enough program to do a good compiler. BCET, which
was developed with PDS 7.1, just barely fits in the IDE, and is only
the first pass of 4. The 2nd & 3rd passes are also pretty tight fits
for the IDE.
This compiler will then translate a QBasic 1.1 source code (such asYACC is written in C, which means it wouldn't be of very much with
NIBBLES.BAS, etc) to assembly language (which is then assembled by
A86) to produce a .COM.
I know there is a tool, YACC but can be used for Basic? Is there a
YACC port for Basic, in particular, QBasic 1.1 ?
QBasic. Also, I have in the past tried converting the output of
programs such as YACC, from C to Basic. Those outputs generally have
select statements that are WAY too big for either QBasic or
QuickBasic.
If you are willing to settle for a win32 console program, try BCET.
2nd URL in the sig.
If you want 16-bit EXE files, get a copy of either PDS 7.10 or VBDOS
1.0, which is the same except that MS FOBARed the IDE, and added the
text windows.
If you want 16-bit COM files, good luck.
--
ArarghMail708 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the extra stuff from the reply address.
.
- Follow-Ups:
- Re: QBasic 1.1 language
- From: Happy Trails
- Re: QBasic 1.1 language
- References:
- QBasic 1.1 language
- From: Kristian
- QBasic 1.1 language
- Prev by Date: QBasic 1.1 language
- Next by Date: Re: QBasic 1.1 language
- Previous by thread: QBasic 1.1 language
- Next by thread: Re: QBasic 1.1 language
- Index(es):
Relevant Pages
|