guile-words is primarily provided as a library but it includes example programs that function as command-line applications to make use of it. An interesting bonus that comes from using the Guile programming language is that the library becomes immediately available in C (and C++) programs and libraries as well.
The program makes use of several online dictionaries:
- Glosbe (not yet implemented)
- Usage examples
Aside from a correct Guile installation, the library also requires guile-json
Download the tar file or clone a git reository
put the words.scm (or the compiled .go) file in the Guile site package, typically
The Scheme library
Adding new actions
Every high-level look up command added as a function to the Scheme library immediately becomes available to the C application.
Adding actions to already supported backends
- Add a new action to the action list
- Define a high level function that calls the existing backend service and pass the newly defined action to it:
The C client program
Please, see the LICENSE file.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA