ladybird/Userland/Libraries/LibUnicode
Timothy Flynn dd89901b07 LibUnicode: Use GenericLexer to parse Unicode language IDs
This is preparatory work to read locale extensions. The parser currently
enforces that the entire string is consumed. But to parse extensions,
parse_unicode_locale_id() will need parse_unicode_language_id() to just
stop parsing on the first segment that does not match the language ID
grammar. It will also need to know where the parsing stopped. Both of
these needs are fulfilled by GenericLexer.

The caveat is that we can no longer simply split the parsed string on
separator characters. So parse_unicode_language_id() now operates as a
small state machine.
2021-08-30 19:42:40 +01:00
..
CharacterTypes.cpp LibUnicode: Download and parse DerivedNormalizationProps UCD file 2021-08-11 13:11:01 +02:00
CharacterTypes.h LibUnicode: Parse UCD ScriptExtensions.txt and generate property 2021-08-04 13:50:32 +01:00
CMakeLists.txt Meta+LibUnicode: Move unicode_data helper to Meta/CMake 2021-08-28 08:44:17 +01:00
Forward.h LibUnicode: Generate locale subtag data as multiple smaller tables 2021-08-27 12:32:24 +01:00
Locale.cpp LibUnicode: Use GenericLexer to parse Unicode language IDs 2021-08-30 19:42:40 +01:00
Locale.h LibUnicode: Parse Unicode CLDR currencies and generate locale mappings 2021-08-27 12:32:24 +01:00