namespace glob expension introspection
Open1931263fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-04-01 13:21:26
Is it possible/desirable to extend TCL core to add more functionality to make the environment more transparent? Example: ---------------------------------------------------- I have these namespaces: x::y1::z,x::y2::z, x::y3::x If I want to see ALL commands in namespaces x::y1::z, x::y2::z, x::y3::z info commands x::*::z In namespace x::y1::z info commands x::*1::z Find ALL namespaces, going down the namespace hierarchy, below x:: namespace children x::* Find ALL namespaces below x::y1 and x::y2 namespace children x::y* ---------------------------------------------------- Basically, add glob expansion to namespace and it's associated commands (where it makes sense). It should be similar to the way it work in the Linux shell for listing directories/files, like this "ls /*/*" or "find ./ -type d" .
Log in (anonymous is fine) to add a comment.