that is how mash works ... you augment it's command set by loading modules (for example "make").
brucee On 4/20/06, Roman Shaposhnick <[EMAIL PROTECTED]> wrote: > On Tue, Apr 18, 2006 at 09:35:27PM -0500, erik quanstrom wrote: > > i think there is a #3 here. extension. > > > > dynamic linking allows one to extend a program without inventing a > > metalanguage. > > i believe there is a paper on how inferno's shell uses this to nice effect. > > I think you're confusing two notions here. What you're talking about > sounds more like dynamic loading, not dynamic linking. And with dynamic > loading the control is *explicitly* at client's possession. You're > supposed to know what to dlopen, what to look for inside, etc. Such > a controlled environment lets you be much more precise and avoid > many of the shortcomings of the true "dynamic linking". > > Now, it would be interesting to know what others think about the need > for dynamic loading in Plan9. > > Personally, my dream has always been to make all of the applications > which rely heavily on console input-output to be dynamically loaded > on top of each other, so that when I do something like: > > $ bash > <long session with bash, with lots of useful stuff in history and such> > $ gdb > > I don't leave shell (and lose all of the context) but I rather have > my shell augmented with gdb commands. Sort of like Tcl works with > external modules. > > Have anybody thought about anything likes this ? > > Thanks, > Roman. >
