Hi Thomas,
On 22/01/2005, you wrote:
In general, a parser for such a simple language (i.e. one token look-ahead) is a no-brainer... The actual functionality is of course something else, but I don't think it's too problematic either (trust me, 2 years of compiler construction at university at least tought me that ;) ... and how to sleep without anybody noticing, but that's a different story...)
Do we really need the "fork()" functionality? Surely we don't need to duplicate the entire volatile memory of the current shell in order to run another - all we need to do is "run" another shell with the same Env and local variables, right? We could send the daughter shell a message containing the current variable settings.
Surely the use of "fork()" is an overkill for a shell?
cheers