3 ms·
BASIC is great. Neat project! I'm just not a fan of line numbers.
by adamredwoods 6y ago
BASIC is great. Neat project! I'm just not a fan of line numbers.
- srivastm 6y agoLine numbers are optional in PuffinBASIC now, introduced labels, e.g. https://github.com/mayuropensource/PuffinBASIC/blob/master/samples/puffingame/flypuffinfly.bas https://github.com/mayuropensource/PuffinBASIC/blob/master/s...
- srivastm 6y agoAfter writing the PuffinBASIC interpreter and a game, here are my initial comments on the BASIC language: 1. Drop line numbers and use Labels 2. Needs multi-line IF-THEN 3. Needs switch 4. Needs named subroutines with local scope, much like functions 5. Needs references (not pointers) 6. Drop variable suffix