Since I am back I have to bring it up.
What about something like MS-QuickBASIC for the Macintosh, with some of the extensions from MS-BASIC PDS, and an implementation of pointers on top?
I would implement the pointers in the same manner as they are implemented in BBC BASIC V (AKA ARM BASIC). As this would fit well into the existing structure of the language, and only add a single additional level of operator precedence.
WHAT you say?
MS-QuickBASIC 1.0 (a compiler for the Macintosh 680x0 computers) provides builtins for GUI elements, decent graphics commands, and multi-width peek and poke statements (for implementing pointers).
BASIC PDS provides better structured datatypes, and forward declaration.
We are talking structured!
The concept is a structured modern structured procedural BASIC, specifically targeting ARM based systems, firstly the Raspberry Pi. That is to say a BASIC implementation that uses procedures and functions, block oriented conditionals (IF THEN ELSE ENDIF / CASE WHEN), normal looping structures (WHILE WEND / LOOP UNTIL / FOR STEP NEXT), has structured datatypes (TYPE ENDTYPE [think C struct]), add in pointers and we have a complete easy to learn for NOOBS language that obeys the modern rules.
I would posit removing the GOTO and GOSUB keywords wholesale. They are not needed in BASIC, and are the biggest criticism of BASIC by those that do not know any BASIC newer than 1982. BASIC is a structured language, with typed variables, and is still easy to use.
I would also say it would be worth having the GUI statements well known in QuickBASIC, something needed in that language to show off a compiler for the Macintosh, though well implemented by MS in my opinion.
Last edited by DavidS
on Tue Apr 10, 2018 5:06 pm, edited 1 time in total.
The Raspberry Pi is an ARM computer, that runs many Operating Systems, including Linux, RISC OS, BSD, Pi64, CP/M as well as many more.
Soon to add AROS to the list of operating systems.