3 ms·
The only things you really need to implement in a browser BASIC are PRINT, GOTO, and FOR, because that is all anybody will type into it to try it out. (Some use
by ncmncm 5y ago
The only things you really need to implement in a browser BASIC are PRINT, GOTO, and FOR, because that is all anybody will type into it to try it out. (Some use GOTO, some FOR.)
I don't know the name for that sort of completeness.
- James-Livesey 5y agoThat's very true; they're definitely the essentials to any BASIC interpreter! `if` is also very useful as well to do conditional jumps, and so is `input`. With those commands, the possibilities are endless!