Since I need this, and need to get it done reasonably soon, I'm spec'ing out the syntax of the charset and encoding files.

Since there's been no more complaint or discussion, I'm taking the encoding and charset APIs proposed as acceptable, with the caveat that my docs suck and are going to be patched up as discussed. (This'd be a good time to revisit them and comment :)

I've added a charset/ directory back in. Charsets'll go in there. (I think Unicode and ASCII will be the first two that get done)

I'm going to preprocess the charset and encoding files the same way we preprocess the pmc files. I'm looking at .charset and .encoding as the suffixes, with the same sort of "First it's C, then we get to the keyword, then it's processed" scheme building up the charset and encoding vtables.

I'm also going to add in charset.h and encoding.h headers to define the charset and encoding vtables.

At some point I'll finally get to teaching string.c how to use the new stuff rather than diving directly into ICU, and then we'll see where we go from there.
--
Dan


--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to