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.
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.