gen_properties

command
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

This program generates a property file in Go file from Unicode Character Database auxiliary data files. The command line arguments are as follows:

  1. The name of the Unicode data file (just the filename, without extension). Can be "-" (to skip) if the emoji flag is included.
  2. The name of the locally generated Go file.
  3. The name of the slice mapping code points to properties.
  4. The name of the generator, for logging purposes.
  5. (Optional) Flags, comma-separated. The following flags are available: - "emojis=<property>": include the specified emoji properties (e.g. "Extended_Pictographic"). - "gencat": include general category properties.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL