|
Revision 3108, 0.7 kB
(checked in by hans, 8 months ago)
|
update xurielle dependencies
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
Babel is a charset encoding/decoding library, not unlike GNU libiconv, but |
|---|
| 3 |
completely written in Common Lisp. |
|---|
| 4 |
|
|---|
| 5 |
It strives to achieve decent performance. To that effect, we use OpenMCL's |
|---|
| 6 |
approach of calculating the destination buffer size in advance. Most of the |
|---|
| 7 |
encoding/decoding algorithms have been adapted from OpenMCL's source. |
|---|
| 8 |
|
|---|
| 9 |
Another important goal is reusability. Similarly to SBCL, we define an |
|---|
| 10 |
interface wherein the algorithms can be reused between a variety of data |
|---|
| 11 |
types so long we're dealing with conversions between octets and unicode |
|---|
| 12 |
code points. |
|---|
| 13 |
|
|---|
| 14 |
Babel comes with converters between strings and (unsigned-byte 8) vectors |
|---|
| 15 |
but can be easily extended to deal with, e.g., strings and foreign memory, |
|---|
| 16 |
vectors and Closure's runes, etc... |
|---|
| 17 |
|
|---|