Re: Looking for BASIC compiler



H-Man <I-Hate@xxxxxxxxxx> wrote:
: I like Delphi, but would prefer a BASIC solution to no runtimes required.
: Mostly because I am most familiar with BASIC. AFAIK, FreeBASIC has a
: seperate runtime module, no?

The subject line is "Looking for BASIC compiler" and I
assumed you were only interested in a 'true' compiler that
creates native machine code. However if your main concern
is that it makes a single, compact, stand-alone executable
file - not necessarily that it is a true compiler - then
your options are increased.

You might like to look at BBC BASIC. This is a traditional
interpreted language but it creates compact (typically less
than 100K) stand-alone executables by combining a compressed
version of your BASIC program with a run-time interpreter.
It won't be as fast as a true compiler but in all other
respects there is no discernable difference.

If you are interested in a relatively pain-free way to learn
about the Windows API then BBC BASIC for Windows may be the
answer. You can start by writing 'pure' BASIC programs and
gradually replace the BASIC commands with API calls (easily
made from BBC BASIC) until eventually you're just using BASIC
as a wrapper around API calls. At that point you can migrate
to any other language confident that the API won't be a
stumbling block.

An evaluation version of BBC BASIC for Windows is here:

http://www.rtrussell.co.uk/products/bbcwin/download.html

The BBC BASIC discussion group is at:

http://groups.yahoo.com/group/bbcbasic/

Some user reviews are here:

http://www.download.com/BBC-BASIC-For-Windows/3640-2069_4-10412803.html

Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.
.



Relevant Pages

  • Re: Quick question about streams...?
    ... Okay, I don't mind learning all there is to learn, but wait a minute... ... And isn't the API a bunch of C functions? ... Whereby they made Windows out of C language right..... ... VC++ is a compiler that will compile C and C++ programs. ...
    (microsoft.public.vc.language)
  • Re: object system...
    ... [A C compiler cannot put a loop control variable in a register without ... and then later may assemble them into ... this whole API may be modified and redirected (in ... functionality it exports, but instead redirects it to the particular library ...
    (comp.object)
  • Re: Quick question about streams...?
    ... For loops and structures are the C language. ... The API is a bunch of functions. ... I don't know what "runs on assembler" means. ... A C compiler usually starts ...
    (microsoft.public.vc.language)
  • Re: undefined reference????
    ... > It is actually a program taken from an API documentation of "link ... and downloaded the Windows version. ... "undefined reference" a compiler or a linker error? ...
    (comp.lang.cpp)
  • Re: C Stack Corruption?
    ... and it seems that I'm getting some stack ... >corruption after any API call. ... It accepts a call from one compiler module, ... >values after any IBM API call. ...
    (comp.lang.c)

Loading