| Version 0.2.1 | S-Lang cURL Module | |||||||||
|
The S-Lang See the module's online documentation for more information about it. The source code for the latest version of the module may be downloaded from ftp://space.mit.edu/pub/davis/slang/v2.1/modules/curl/. The development version may be obtained from the Subversion repository using
svn co http://opensvn.csie.org/jedsoft/slang/modules/slcurl/trunk slcurl
A simple example of its use is provided by a S-Lang script called
translate, located in the
translate [--to lang-out] lang-in [phrase|-]
For example, to translate ``Hola Mundo'' from Spanish to English use:
translate spanish Hola Mundo
and to translate ``Hola Mundo'' to French use:
translate --to french spanish Hola Mundo
It is also possible to use the script in a pipeline to play word
games:
translate --to spanish english Boy meets girl | \
translate --to french spanish | translate french
Enjoy.
|
| This page was last updated Jan 21, 2008 by John E. Davis. To comment on it or the material presented here, send email to jed at jedsoft org. |