Refactor the character set abstraction:
authorChris Hanson <org/chris-hanson/cph>
Mon, 30 Jan 2017 02:40:53 +0000 (18:40 -0800)
committerChris Hanson <org/chris-hanson/cph>
Mon, 30 Jan 2017 02:40:53 +0000 (18:40 -0800)
commit2f1f479db44649b07917fcaed727668211e11115
tree85d345e7e1044a068ccf409987bbfa1954ec3a61
parent2de6bd92ac061bf2a48581c0cc4c338fef3f5e41
Refactor the character set abstraction:

* Clarify the use of "code point" versus "scalar value".

* Rename well-formed-scalar-value-list? to code-point-list? and broaden its
  scope to allow characters, strings, and character sets.

* Rename scalar-values->char-set to char-set* and broaden its domain to include
  any code-point-list?.

* Rename char-set->scalar-values to char-set->code-points.

* Implement char-in-set? which is char-member? with the args reversed.  This
  makes it consistent with scalar-value-in-char-set?.  Deprecate char-member?.

* Implement char-set-union* and char-set-intersection*.

* Eliminate all of the "alphabet" names which are obsolete.

* Eliminate guarantee-char-set and error:not-char-set.
src/runtime/chrset.scm
src/runtime/parse.scm
src/runtime/predicate-metadata.scm
src/runtime/regsexp.scm
src/runtime/rgxcmp.scm
src/runtime/runtime.pkg
src/runtime/string.scm
src/xml/turtle.scm
src/xml/xml-chars.scm
tests/runtime/test-char-set.scm
tests/runtime/test-regsexp.scm