I just finished updating Qwandry so that it can support any number of other languages or packaging systems. Want to use perl, python, or node with Qwandry? No problem:
qw -r python numpy # opens python's numpy library qw -r perl URI # open perl's URI library qw -r node express # open express if it is installed for node
Qwandry will probe these dynamic languages and detect their load paths. This is just the first step towards making code more accessible to people. I would love to hear what you think of it, and if you have any suggestions.
Go ahead and install it with ruby’s package manager:
gem install qwandry
If you had customized Qwandry before, this release will break your custom
init.rb file. Configuration commands looked like this:
add 'projects', '~/toys' add 'projects', '~/samples'
Now they look slightly different:
register 'projects' do add '~/toys' add '~/samples' end
By wrapping the commands that actually add paths to Qwandry’s search path in a block, we can defer slow operations like probing. Furthermore, we now only need to build up the paths for what you are looking for. By deferring configuration until it is needed, we can add support for any language or package scheme we like without slowing Qwandry down.
So what would you like to see Qwandry support next?