[e-lang] An E-like command line for the whole of the Web

Tyler Close tyler.close at gmail.com
Sat May 30 20:07:26 EDT 2009


I've made some improvements to the shell and also added a compelling
example to the documentation. The example code is:

; var search = lib.web._ref(null,
     'http://ajax.googleapis.com/ajax/services/search/web?v=1.0')
; var results = lib.Q.get(search, 'Paris Hilton')
; var feelingLucky = lib.Q.when(results, function (value) {
      return value.responseData.results[0].url;
  })
; feelingLucky
// "http://en.wikipedia.org/wiki/Paris_Hilton"

Read more at:

http://waterken.sourceforge.net/web_send/wsh/?v=1

--Tyler

-- 
"Waterken News: Capability security on the Web"
http://waterken.sourceforge.net/recent.html


More information about the e-lang mailing list