]> gitweb.factorcode.org Git - factor.git/commitdiff
Fixing Unicode docs
authorDaniel Ehrenberg <littledan@Macintosh-122.local>
Thu, 19 Mar 2009 01:02:03 +0000 (20:02 -0500)
committerDaniel Ehrenberg <littledan@Macintosh-122.local>
Thu, 19 Mar 2009 01:02:03 +0000 (20:02 -0500)
basis/unicode/data/data-docs.factor
basis/unicode/script/script-docs.factor

index 55fed313866d753fc60ea61dbd261d4c6b3d7b8a..0123c98a670ad601edc25b20ba7fc57a63dcca19 100644 (file)
@@ -1,3 +1,5 @@
+! Copyright (C) 2009 Daniel Ehrenberg
+! See http://factorcode.org/license.txt for BSD license.
 USING: help.syntax help.markup strings ;
 IN: unicode.data
 
@@ -5,7 +7,6 @@ ABOUT: "unicode.data"
 
 ARTICLE: "unicode.data" "Unicode data tables"
 "The " { $vocab-link "unicode.data" "unicode.data" } " vocabulary contains core Unicode data tables and code for parsing this from files."
-{ $subsection load-script }
 { $subsection canonical-entry }
 { $subsection combine-chars }
 { $subsection combining-class }
@@ -14,10 +15,6 @@ ARTICLE: "unicode.data" "Unicode data tables"
 { $subsection char>name }
 { $subsection property? } ;
 
-HELP: load-script
-{ $values { "filename" string } { "table" "an interval map" } }
-{ $description "This loads a file that looks like Script.txt in the Unicode Character Database and converts it into an efficient interval map, where the keys are characters and the values are strings for the properties." } ;
-
 HELP: canonical-entry
 { $values { "char" "a code point" } { "seq" string } }
 { $description "Finds the canonical decomposition (NFD) for a code point" } ;
index 6612825c21eb971f833ee9783df862e62041f8ec..730c361fb91905bcfb9f84190e3e6dfd235ed4ca 100644 (file)
@@ -1,6 +1,10 @@
-USING: help.syntax help.markup ;\r
+! Copyright (C) 2009 Daniel Ehrenberg\r
+! See http://factorcode.org/license.txt for BSD license.\r
+USING: help.syntax help.markup strings ;\r
 IN: unicode.script\r
 \r
+ABOUT: script-of\r
+\r
 HELP: script-of\r
 { $values { "char" "a code point" } { "script" "a symbol" } }\r
 { $description "Gets a symbol representing the code point of a given character. The word name of the symbol is the same as the one " } ;\r