| Version 0.2.1 | S-Lang cURL Module | |||||||
|
The S-Lang See the module's online documentation for more information about it. A gzipped tar file containing the latest development version may be downloaded from http://www.jedsoft.org/snapshots/, where you will also find a link to the public source code repository.
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 Mar 11, 2013 by John E. Davis. To comment on it or the material presented here, send email to jed at jedsoft org. |