Hacker News new | ask | show | jobs
by ferguess_k 40 days ago
May I say that the architecture is like this --

The VM is completely independent from the frontend. It also provides primitive functions interacting with the system, e.g. printing to console and drawing lines/circles, etc to different devices. It also implements an abstract VFS, which seems to be of a different concept comparing with the VFS in the kernel, because it is in user land. It is the frontend to tokenize and parse the language and call upon the VM to do something useful.

I think this is pretty common among compiler designs, except that most compilers don't implement drawing functions or user land file systems, while EndBASIC's does that -- if my assumption is correct. In essence it looks like a user land operating system.