2 Commits

Author SHA1 Message Date
Ernesto A. Fernández 6e11fb3883 Optimize normalization for the ascii case
Handle ascii characters with the isascii() and tolower() kernel macros,
and skip the costly trie searches.
2018-06-09 22:38:05 -03:00
Ernesto A. Fernández 5a0f3e712b Run tests during build
Move the head of unicode.c and unicode.h to separate files, and write
alternative versions for running tests in user space. Since there are
no official unicode tests for case folding, the mktrie script must also
produce another version of the case folding trie, with no values.

Setup the Makefile so that the tests are run with every recompilation,
printing the results to build/test.out.
2018-06-07 19:38:53 -03:00