Ah, I see. (I missed it the first time because I had ‘Whole Words’ toggled on my search bar.)
Yeah… that’s not happening.
Arduboy’s AVR chip has 32KB of flash/progmem (of which 4KB is reserved for the bootloader) and 2.5KB of RAM (of which 1KB is used by the screen buffer). As I mentioned before, you can’t execute machine code directly from the FX chip, so even if you had a 256KB chip it wouldn’t make a difference.
These kinds of metrics (measuring the resources a program uses) are never perfect anyway - the same source code will compile to different sizes depending on the architecture and optimisation settings.
Probably not that much less. The most expensive part of a shell is usually the font rendering code (and any extra fancy features like command history). If you stick to a fixed-width font and store it as a grid of letters, and maybe don’t have any fancy features (like command history) then it’s probably not that expensive.
If you separated the two, the interpreter itself is almost guaranteed to be much larger than the shell simply because parsing can be quite complex.
At any rate, running a REPL on a system without a keyboard would be a bit pointless. :P