Ystok-Library is a portable Common Lisp library of general purpose macros, functions, and utilities. It is is required by other Ystok-something packages.
Ystok-Library includes the
defnative macro for customizing
national language strings. Such strings are compiled into application
when delivering in a specific language.
The lang/ subdirectory contains language files for German and Russian.
For run-time string translation, Ystok-Library includes the following:
The file-utils.lisp contains some useful functions:
The library includes the portable code of META, a classic technique for building recursive descent parsers, which is both simple and effective. See "Pragmatic Parsing in Common Lisp" of Henry G. Baker at http://citeseer.ist.psu.edu/baker91pragmatic.html or inside http://portal.acm.org/ or just download Prag-Parse.ps, the original article in PostScript.
The meta-parse-number.lisp file in the distribution bundle presents an example of using META. This approach is used by
The lw-compat.lisp file contains reimplementation of useful primitives from
string-append, and the like.
Ystok-Library is required by YstokGrid, YstokHelp, YstokHTML, YstokSQL, Ystok-Local-Time, Ystok-URI, Ystok-Widgets, and our version of ACL-Compat.
The source code was tested on the following Lisp implementations:
Ystok-Library is available from http://lisp.ystok.ru/ylib/ylib-1-2-022.zip. The distribution package contains both the ASDlite/ASDF-based ystok-library.asd and the LispWorks system definition file defsys.lisp.