4 ms·
8 bit BASICs were extremely tightly coded and packed a lot of functionality. They had working garbage collection for strings, with useful string processing buil
by kazinator 6y ago
8 bit BASICs were extremely tightly coded and packed a lot of functionality. They had working garbage collection for strings, with useful string processing built on it. Programs could be interrupted to safely return to the prompt, and errors which terminated the program informed the user of the line number, e.g. "illegal quantity error in 210". The internal, tokenized representation of programs could be interactively edited to update the program, which could be saved to disk. BASICS also had floating-point support, with functions like LOG, EXP, SIN, COS, TAN, ATAN, ... Also arrays, including multi-dimensional ones.
- pjmlp 6y agoAnd the compiled ones also included some form of records.
- jart 6y agoVery impressive. But it didn't have a metacircular evaluator! sectorlisp does.
- kazinator 6y agoI see there is a metacircular evaluator in the repository (lisp.lisp), but I don't see where that is pulled into the image. In the BASIC heyday, there existed compilers for BASIC (some of them written in BASIC). These didn't ship in the ROM images either, they were third-party apps.