BASIC 10 intended a vector-based API for extending the language and parser. This is currently untested and undocumented. We should formalize, test (and possibly fix), and document this API.
Doing this sooner rather than later will help us figure out what other parts of the KERNAL/BASIC need to be part of the API surface to make useful extensions, e.g. accessors for state variables.
BASIC 10 intended a vector-based API for extending the language and parser. This is currently untested and undocumented. We should formalize, test (and possibly fix), and document this API.
Doing this sooner rather than later will help us figure out what other parts of the KERNAL/BASIC need to be part of the API surface to make useful extensions, e.g. accessors for state variables.
See b65.src starting $02f7.