core/unicode/tools
xml_tools
Types
2Constants
3GENERATED
GENERATED :: `/*
------ GENERATED ------ DO NOT EDIT ------ GENERATED ------ DO NOT EDIT ------ GENERATED ------
*/`SourceOPTIONS
OPTIONS :: xml.Options = xml.Options{ flags = { .Ignore_Unsupported, }, expected_doctype = "unicode", }SourceTABLE_FILE_PROLOG
TABLE_FILE_PROLOG :: `/*
This file is generated from "https://github.com/w3c/xml-entities/blob/gh-pages/unicode.xml".
UPDATE:
- Ensure the XML file was downloaded using "tests\core\download_assets.py", given the path to the "tests\assets" directory.
- Run "core/unicode/SourceProcedures
4Error_Handler
Error_Handler :: proc(pos: xml.Pos, fmt: string, args)SourceSilent error handler for the parser.
main
main :: proc()Sourcewrite_encoding_entitities_table
write_encoding_entitities_table :: proc(entities: []Entity, shortest_name: string, longest_name: string, min_name_length: int, max_name_length: int)Sourcewrite_unicode_category_tables
write_unicode_category_tables :: proc(characters: []Character)Source