Is there a good BASIC compiler for ubuntu?

Mikus Grinbergs mikus at bga.com
Mon Mar 13 00:45:14 UTC 2006


On Sun, 12 Mar 2006 22:03:17 +0200 Alan McKinnon <alan at linuxholdings.co.za> wrote:
> >
> > As far as I know, BASIC is not a compiled language, but rather an
> > interpreted one. So I guess that it is an interpreter you are
> > looking for.
>
> Not quite. Languages are not inherently compiled or interpreted. It's
> the environment they run it that determines that.
>
> There's no reason why BASIC can't be compiled (other than no sane
> programmer would consider doing it)

I've found a major problem with old BASIC compilers for DOS
to be that they support no more than one (hardware) memory
segment for the programs they generate -- meaning that with
them there is a limit to the number of code lines in any one
BASIC program.

But "compiled BASIC" for most intents and purposes would run
like "compiled C" (or whatever).  Where __legacy__ code exists
and is written in BASIC, I think that a sane programmer WOULD
consider compiling it (rather than spend effort "porting" that
application to a different language).

mikus





More information about the ubuntu-users mailing list