diff options
-rw-r--r-- | data/BidiBrackets (renamed from data/BidiBrackets.txt) | 0 | ||||
-rw-r--r-- | data/DerivedBinaryProperties (renamed from data/DerivedBinaryProperties.txt) | 0 | ||||
-rw-r--r-- | data/DerivedCoreProperties (renamed from data/DerivedCoreProperties.txt) | 0 | ||||
-rw-r--r-- | data/DerivedDecompositionType (renamed from data/DerivedDecompositionType.txt) | 0 | ||||
-rw-r--r-- | data/DerivedEastAsianWidth (renamed from data/DerivedEastAsianWidth.txt) | 0 | ||||
-rw-r--r-- | data/DerivedLineBreak (renamed from data/DerivedLineBreak.txt) | 0 | ||||
-rw-r--r-- | data/DerivedNormalizationProps (renamed from data/DerivedNormalizationProps.txt) | 0 | ||||
-rw-r--r-- | data/DerivedNumericType (renamed from data/DerivedNumericType.txt) | 0 | ||||
-rw-r--r-- | data/DerivedNumericValues (renamed from data/DerivedNumericValues.txt) | 0 | ||||
-rw-r--r-- | data/GraphemeBreakProperty (renamed from data/GraphemeBreakProperty.txt) | 0 | ||||
-rw-r--r-- | data/PropList (renamed from data/PropList.txt) | 0 | ||||
-rw-r--r-- | data/UnicodeData (renamed from data/UnicodeData.txt) | 0 | ||||
-rw-r--r-- | data/emoji-data (renamed from data/emoji-data.txt) | 0 | ||||
-rwxr-xr-x | gen/data-files | 34 | ||||
-rwxr-xr-x | gen/prop/bool-props | 10 | ||||
-rwxr-xr-x | gen/prop/bpb | 2 | ||||
-rwxr-xr-x | gen/prop/bpt | 2 | ||||
-rwxr-xr-x | gen/prop/dt | 2 | ||||
-rwxr-xr-x | gen/prop/ea | 2 | ||||
-rwxr-xr-x | gen/prop/gc | 2 | ||||
-rwxr-xr-x | gen/prop/lb | 2 | ||||
-rwxr-xr-x | gen/prop/na | 2 | ||||
-rwxr-xr-x | gen/prop/na1 | 2 | ||||
-rwxr-xr-x | gen/prop/nt | 2 | ||||
-rwxr-xr-x | gen/prop/nv | 2 | ||||
-rwxr-xr-x | gen/prop/slc | 2 | ||||
-rwxr-xr-x | gen/prop/stc | 2 | ||||
-rwxr-xr-x | gen/prop/suc | 2 |
28 files changed, 35 insertions, 35 deletions
diff --git a/data/BidiBrackets.txt b/data/BidiBrackets index 8cebea4..8cebea4 100644 --- a/data/BidiBrackets.txt +++ b/data/BidiBrackets diff --git a/data/DerivedBinaryProperties.txt b/data/DerivedBinaryProperties index 2b57127..2b57127 100644 --- a/data/DerivedBinaryProperties.txt +++ b/data/DerivedBinaryProperties diff --git a/data/DerivedCoreProperties.txt b/data/DerivedCoreProperties index 220c556..220c556 100644 --- a/data/DerivedCoreProperties.txt +++ b/data/DerivedCoreProperties diff --git a/data/DerivedDecompositionType.txt b/data/DerivedDecompositionType index 6bd9e8e..6bd9e8e 100644 --- a/data/DerivedDecompositionType.txt +++ b/data/DerivedDecompositionType diff --git a/data/DerivedEastAsianWidth.txt b/data/DerivedEastAsianWidth index e2bac0b..e2bac0b 100644 --- a/data/DerivedEastAsianWidth.txt +++ b/data/DerivedEastAsianWidth diff --git a/data/DerivedLineBreak.txt b/data/DerivedLineBreak index a0c7ab1..a0c7ab1 100644 --- a/data/DerivedLineBreak.txt +++ b/data/DerivedLineBreak diff --git a/data/DerivedNormalizationProps.txt b/data/DerivedNormalizationProps index 7f8edd6..7f8edd6 100644 --- a/data/DerivedNormalizationProps.txt +++ b/data/DerivedNormalizationProps diff --git a/data/DerivedNumericType.txt b/data/DerivedNumericType index 062f4fb..062f4fb 100644 --- a/data/DerivedNumericType.txt +++ b/data/DerivedNumericType diff --git a/data/DerivedNumericValues.txt b/data/DerivedNumericValues index e671646..e671646 100644 --- a/data/DerivedNumericValues.txt +++ b/data/DerivedNumericValues diff --git a/data/GraphemeBreakProperty.txt b/data/GraphemeBreakProperty index 12453cb..12453cb 100644 --- a/data/GraphemeBreakProperty.txt +++ b/data/GraphemeBreakProperty diff --git a/data/PropList.txt b/data/PropList index 777e8a2..777e8a2 100644 --- a/data/PropList.txt +++ b/data/PropList diff --git a/data/UnicodeData.txt b/data/UnicodeData index bdcc418..bdcc418 100644 --- a/data/UnicodeData.txt +++ b/data/UnicodeData diff --git a/data/emoji-data.txt b/data/emoji-data index 0ba10e9..0ba10e9 100644 --- a/data/emoji-data.txt +++ b/data/emoji-data diff --git a/gen/data-files b/gen/data-files index 550ef82..3deb623 100755 --- a/gen/data-files +++ b/gen/data-files @@ -6,25 +6,25 @@ mkdir -p data readonly BASE=https://www.unicode.org/Public/UCD/latest/ucd -readonly URLS=' -auxiliary/GraphemeBreakProperty.txt -BidiBrackets.txt -DerivedCoreProperties.txt -DerivedNormalizationProps.txt -emoji/emoji-data.txt -extracted/DerivedBinaryProperties.txt -extracted/DerivedDecompositionType.txt -extracted/DerivedEastAsianWidth.txt -extracted/DerivedLineBreak.txt -extracted/DerivedNumericType.txt -extracted/DerivedNumericValues.txt -PropList.txt -UnicodeData.txt +readonly PATHS=' +auxiliary/GraphemeBreakProperty +BidiBrackets +DerivedCoreProperties +DerivedNormalizationProps +emoji/emoji-data +extracted/DerivedBinaryProperties +extracted/DerivedDecompositionType +extracted/DerivedEastAsianWidth +extracted/DerivedLineBreak +extracted/DerivedNumericType +extracted/DerivedNumericValues +PropList +UnicodeData ' -for url in $URLS +for path in $PATHS do - name="data/${url##*/}" - test -f "$name" || wget -q "$BASE/$url" -O "$name" & + name="data/${path##*/}" + test -f "$name" || wget -q "$BASE/$path.txt" -O "$name" & done wait diff --git a/gen/prop/bool-props b/gen/prop/bool-props index 5e93a8e..04e1e32 100755 --- a/gen/prop/bool-props +++ b/gen/prop/bool-props @@ -85,11 +85,11 @@ gen() printf 'DONE uprop_is_%s()\n' $p >&2 } -for prop in $props1; do gen $prop PropList.txt & done -for prop in $props2; do gen $prop DerivedCoreProperties.txt & done -for prop in $props3; do gen $prop emoji-data.txt & done -for prop in $props4; do gen $prop DerivedNormalizationProps.txt & done -for prop in $props5; do gen $prop DerivedBinaryProperties.txt & done +for prop in $props1; do gen $prop PropList & done +for prop in $props2; do gen $prop DerivedCoreProperties & done +for prop in $props3; do gen $prop emoji-data & done +for prop in $props4; do gen $prop DerivedNormalizationProps & done +for prop in $props5; do gen $prop DerivedBinaryProperties & done printf '[[__nodiscard__, __unsequenced__]] bool uprop_is_%s(rune);\n' \ $(printf '%s\n' $props1 $props2 $props3 $props4 $props5 | cut -d= -f1) \ diff --git a/gen/prop/bpb b/gen/prop/bpb index 52e3a9d..c6fdf5d 100755 --- a/gen/prop/bpb +++ b/gen/prop/bpb @@ -49,4 +49,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);" print "}" } -' data/BidiBrackets.txt +' data/BidiBrackets diff --git a/gen/prop/bpt b/gen/prop/bpt index b73b804..c9726a6 100755 --- a/gen/prop/bpt +++ b/gen/prop/bpt @@ -50,4 +50,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);" print "}" } -' data/BidiBrackets.txt +' data/BidiBrackets diff --git a/gen/prop/dt b/gen/prop/dt index 82d6331..eb4884c 100755 --- a/gen/prop/dt +++ b/gen/prop/dt @@ -81,4 +81,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);" print "}" } -' data/DerivedDecompositionType.txt | sed 's/\s*$//' +' data/DerivedDecompositionType | sed 's/\s*$//' diff --git a/gen/prop/ea b/gen/prop/ea index 6bf1291..a72ff10 100755 --- a/gen/prop/ea +++ b/gen/prop/ea @@ -62,4 +62,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);" print "}" } -' data/DerivedEastAsianWidth.txt | sed 's/\s*$//' +' data/DerivedEastAsianWidth | sed 's/\s*$//' diff --git a/gen/prop/gc b/gen/prop/gc index 219df8a..c027754 100755 --- a/gen/prop/gc +++ b/gen/prop/gc @@ -65,4 +65,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);" print "}" } -' data/UnicodeData.txt +' data/UnicodeData diff --git a/gen/prop/lb b/gen/prop/lb index 25febdb..251a947 100755 --- a/gen/prop/lb +++ b/gen/prop/lb @@ -62,4 +62,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);" print "}" } -' data/DerivedLineBreak.txt | sed 's/\s*$//' +' data/DerivedLineBreak | sed 's/\s*$//' diff --git a/gen/prop/na b/gen/prop/na index 291a7d9..250b746 100755 --- a/gen/prop/na +++ b/gen/prop/na @@ -35,4 +35,4 @@ END { print "\treturn ch < lengthof(lookup) ? lookup[ch] : (struct u8view){};" print "}" } -' data/UnicodeData.txt +' data/UnicodeData diff --git a/gen/prop/na1 b/gen/prop/na1 index 7ed1a0a..855f1de 100755 --- a/gen/prop/na1 +++ b/gen/prop/na1 @@ -41,4 +41,4 @@ END { print "\treturn mlib_lookup_kv(ch);" print "}" } -' data/UnicodeData.txt +' data/UnicodeData diff --git a/gen/prop/nt b/gen/prop/nt index a55ea45..720baf2 100755 --- a/gen/prop/nt +++ b/gen/prop/nt @@ -66,4 +66,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup(ch);" print "}" } -' data/DerivedNumericType.txt | sed 's/\s*$//' +' data/DerivedNumericType | sed 's/\s*$//' diff --git a/gen/prop/nv b/gen/prop/nv index 4d81fa9..9cb6ba9 100755 --- a/gen/prop/nv +++ b/gen/prop/nv @@ -62,4 +62,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);" print "}" } -' data/DerivedNumericValues.txt +' data/DerivedNumericValues diff --git a/gen/prop/slc b/gen/prop/slc index 57ee4c0..c7019e4 100755 --- a/gen/prop/slc +++ b/gen/prop/slc @@ -50,4 +50,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);" print "}" } -' data/UnicodeData.txt +' data/UnicodeData diff --git a/gen/prop/stc b/gen/prop/stc index 42dca19..252cfa5 100755 --- a/gen/prop/stc +++ b/gen/prop/stc @@ -42,4 +42,4 @@ END { print "\treturn mlib_lookup_kv(ch);" print "}" } -' data/UnicodeData.txt +' data/UnicodeData diff --git a/gen/prop/suc b/gen/prop/suc index 8a53060..1ae4ad4 100755 --- a/gen/prop/suc +++ b/gen/prop/suc @@ -50,4 +50,4 @@ END { print "\treturn ch < lengthof(lookup_lat1) ? lookup_lat1[ch] : mlib_lookup_kv(ch);" print "}" } -' data/UnicodeData.txt +' data/UnicodeData |