Hi list, I was wondering if there would be a practical way to safely
contain a picolisp interpreter (or some subset of commands) inside
another picolisp program. E.g., suppose you have a computer game
programmed in PicoLisp, and the main character found a computer terminal
that allowed him to run some commands or program something in PicoLisp.
The obvious safety concerns here are:
(1) You either want to disable disk access, or make it so that disk
access pulls from a virtual disk in the game.
(2) You don't want the user to be changing memory in the game itself,
only his virtual memory.
(3) You don't want the user to be able to exhaust memory or blow the stack.