Hacker News new | ask | show | jobs
by TonyTrapp 269 days ago
Entire BASIC interpreters were shipped in the very size-constrained ROMs of almost all home computers of the 80s. There was no luxury of parser generators. It's absolutely simple enough that you can write the lexer and parser yourself.
1 comments

Which, for historical context, is why while Dartmouth BASIC compiled to native before execution, all the 8 bit home computer systems with ROM BASIC were contrained to be plain interpreters.

Although those with machines powerful enough to run CP/M, and having disk drives, could enjoy the access to compilers.

> Although those with machines powerful enough to run CP/M, and having disk drives, could enjoy the access to compilers.

Like the remarkable Turbo Pascal, which crammed a full IDE into 34KB.