9.0
top
← prev up next →

Unicode CharsπŸ”— i

John Clements <clements@racket-lang.org>

This package provides definitions for several unicode character properties defined by Unicode Technical Report #44, Unicode Character Database.
Currently, it includes three properties: XID_Start, XID_Continue, and Bidi_Mirrored.
In addition to these, though, it is built upon an auto-extraction mechanism that can download and update the given properties or any other binary property from the canonical unicode sources.

1Built-in propertiesπŸ”— i

The following three properties are built-in. Of course, it’s easy to change this set....

procedure

( bidi-mirrored?codepoint)boolean?

given a number representing a unicode code point, return true when this code point has the "Bidi_Mirrored" property.

procedure

( xid-start?codepoint)boolean?

given a number representing a unicode code point, return true when this code point has the "XID_Start" property.

procedure

( xid-continue?codepoint)boolean?

given a number representing a unicode code point, return true when this code point has the "XID_Continue" property.

2Auto UpdateπŸ”— i

This package contains code that automatically downloads and extracts updated versions of these (or other) properties from the canonical database.

In order to run this auto-update, evaluate the file "compute-prop.rkt". In order to change the set of properties that is automatically derived, edit the definition of prop-files contained in "compute-prop.rkt".

top
← prev up next →

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /