Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zoo: zsh oriented object
- X-seq: zsh-users 11312
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Marc Chantreux" <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Zoo: zsh oriented object
- Date: Sun, 18 Mar 2007 17:42:22 +0100
- Cc: zsh-users@xxxxxxxxxx
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nRJIrc6Zin3/880IIo06WjUNIwAQM8NtfNGOJOaE/HX81K7i2jWglBSApwtYZctaocXg8mRIcCIiTuj3zaamPnGi/Nr93X+20/GX5BsAWtYZBgZCuzscb8EmtF6viKgm+9ckDRkPj7WM5DCGHVoke3HYQh9FhORJEIWsx7elM1w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pWqOJMlB5qccRz4s4HSOuhLzCz8hVbiQtRyZe3fBFckKmo3gJCzx0KysyVxa3F4BIcBOA5deCmjNHFGhyYjUfLkPI9b5w5CyJEW0IVLEto32EvLOiQqzKGJ7JpBWamnbqTCzJF2GlfoSzzM1Y/vDJbE5z2/QiaB3JeEMF9MzZVg=
- In-reply-to: <20070318163452.GA8209@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070318163452.GA8209@xxxxxxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On 3/18/07, Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx> wrote:
Hi all,
At the begining of last summer, Nikolai Weibull posts on zsh-users[1] that he uses autoload to deal with namespaces for his own libraries. Some posts later, Peter Stephenson told me about the ksh-style autoload. I dreamed about object oriented zsh: being able to write something like
use Zoo
use Ldap
#call the ldap constructor
# ( ldap/_new defined in Ldap )
new Ldap srv directory.example.com cn=admin 'giv3m3r00t'
#
host $( $srv .host )
$srv Search uid=mc
delete $srv
Hahaha, this is so incredibly on crack...I love it! I have no idea
how useful this is, but there's certainly a coolness factor over it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author