By popular request (well, three people!) I have created Console Mode editions of
BBC BASIC for MacOS, Linux (64-bit), Windows (64-bit) and Raspbian (32-bit). These have
no graphics and
no sound (nor do they support a mouse, joystick etc.) but their text-mode features are reasonably complete, so far as the capabilities of the native console/terminal allow (notably, text viewports are
not supported).
You can think of them as
BBC BASIC for SDL 2.0 with all the SDL stuff removed, and indeed that is effectively how they were created! Their keyboard input is taken from
stdin and their output is sent to
stdout so you can use them for
CGI applications or effectively as a replacement shell. Normal shell commands can be issued by preceding them with a * in the usual BBC BASIC way.
These editions consist of compact self-contained executables with no dependencies on any third-party libraries; the BBC BASIC interpreter they contain is identical to that in
BBC BASIC for SDL 2.0. They should be considered as Beta test programs since they have not received extensive testing. They are, of course, completely free and can be downloaded as follows:
Supplied with the executables are a small number of BBC BASIC demo programs. Here is the output from
8queens.bbc as seen in the Windows 10 console: