3 ms·
This sort of already exists in the form of RISC OS Pico: https://www.riscosopen.org/content/sales/risc-os-pico https://www.riscosopen.org/content/sales/risc-os-
by LeoPanthera 12y ago
This sort of already exists in the form of RISC OS Pico:
https://www.riscosopen.org/content/sales/risc-os-pico https://www.riscosopen.org/content/sales/risc-os-pico
(You don't have to buy it, just download the zip.)
A bare-bones version of RISC OS with the GUI desktop stripped out, leaving only the command line ("supervisor") prompt, and ARM BASIC V, which is arguably still the most featureful version of BASIC:
https://en.wikipedia.org/wiki/BBC_BASIC#Acorn_Archimedes_.28RISC_OS.29 https://en.wikipedia.org/wiki/BBC_BASIC#Acorn_Archimedes_.28...
A unique feature of ARM BASIC is the presence of an inline assembler allowing users to write ARM assembly language programs. The assembler is fully integrated into the BASIC interpreter and shares variables with it, which can be included between the [ and ] characters, saved via ★SAVE and ★LOAD, and called via the CALL or USR commands. This allows developers to write not just assembly language code, but also BASIC code to emit assembly language, making it possible to use code-generation techniques and even write simple compilers in BASIC.
- to3m 12y agoYes, you definitely want a proper BASIC, and BBC BASIC V would just about do it. It's actually a decent BASIC, not some unstructured POS, and it's got an integrated assembler. So even if you're an assembly language programmer, you can treat it like an assembler with a fancy macro language. It does smell of the 1980s, sporting line numbers and RESTORE/DATA and implicit variable declaration. But it's a reassuring, nostalgic smell, even if not a healthy one, a bit like four star petrol, perhaps, or stale tobacco smoke. A far cry from its Microsoft BASIC equivalent, with its two-char variable names and single-dimension arrays: nothing there but the stench of ordure and corpses.