Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Babel is a charset encoding/decoding library, not unlike GNU libiconv, written in pure Common Lisp. http://common-lisp.net/project/babel
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Babel is a charset encoding/decoding library, not unlike GNU libiconv, but completely written in Common Lisp. It strives to achieve decent performance. To that effect, we use OpenMCL's approach of calculating the destination buffer size in advance. Most of the encoding/decoding algorithms have been adapted from OpenMCL's source. Another important goal is reusability. Similarly to SBCL, we define an interface wherein the algorithms can be reused between a variety of data types so long we're dealing with conversions between octets and unicode code points. Babel comes with converters between strings and (unsigned-byte 8) vectors but can be easily extended to deal with, e.g., strings and foreign memory, vectors and Closure's runes, etc...