On 9/18/08, David Korn <[EMAIL PROTECTED]> wrote: > cc: [email protected] > Subject: Re: Re: [ast-developers] More type problems > -------- > > > > > There is still a problem if A_t contains an array declaration like > > > > typeset -T A_t=( > > B_t -a b > > ) > > > > This causes a segmentation fault. > > > > > > > I hadn't considered this case so this is a bug. > > Do you think that this object oriented extension to ksh93 will be > useful?
Yes, I think it is very useful. It allows encapsulation and reuse without making shell scripts to obscure. However I would appreciate two changes: 1. Change 'function myclass.unset' to 'function myclass.operator unset' to distinguish between special shell operators such as unset, create, set, add etc and user methods. This avoids name space problems. 2. A new option for builtin to define shell functions, i.e. builtin -T function -f libmylib myclass.mymethod to load and use the function "func_myclass__mymethod" from library libmylib.so.x Jenny -- Jennifer Pioch, Uni Frankfurt _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
