So I've read a bit of SRFI-113 specification and realised that this is very generic and can be applied existing charset. However if I apply it to charset, it would be a big internal change. Even though there is still some time to be finalised, it's better to think about how I should implement.
The very first consition is this;
- Charset can't be moved to Scheme world
- Make <set> class in C as base clasts
- <char-set> extends it
- Implement <set> constructor and some procedures in C
- Rewrite SRFI-14 implementation
- Co-operate with Scheme world
#2 is a bit less serious. It's related to class hierarchy. How should class hierarchy of <set> look like? The very naive but safe way would be like this;
Fortunately, there is still time to think about it but not much I think...