wiki:UpdatingUnicode
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Version 1 (modified by Raymond Toy, 12 years ago) (diff)

--

How to Update Unicode Support ΒΆ

Here are the steps for updating the Unicode support in CMUCL.

  1. Update all the files in src/i18n
  2. Modify src/tools/build-unidata.lisp and src/code/unidata.lisp to have the desired values for the Unicode major, minor, and update versions.
  3. Follow the instructions at the top of src/tools/build-unidata.lisp:
    1. Compile and load src/tools/build-unidata.lisp
    2. Run (build-unidata). Specify the directory (to src/i18n/ if necessary.
    3. Run (write-unidata <path>) to write out the new unidata.bin file to <path>.
    4. Copy the new unidata.bin file to src/i18n/unidata.bin.
  4. Rebuild cmucl
  5. Using the new version of cmucl
    1. Run the tests
      1. Load src/i18n/tests/norm-test.lisp and run (run-normalization-tests)
      2. Load src/i18n/tests/word-break-test.lisp and run (run-word-break-test)
    2. There should be no failures in the tests. If there are, fix up errors and start again.

This should give a new version of cmucl with support for the new version of Unicode.