]> gitweb.factorcode.org Git - factor.git/blob - basis/unicode/script/script.factor
Merge branch 'master' of git://factorcode.org/git/factor into clean-linux-x86-32
[factor.git] / basis / unicode / script / script.factor
1 ! Copyright (C) 2008 Daniel Ehrenberg.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: values interval-maps simple-flat-file ;
4 IN: unicode.script
5
6 <PRIVATE
7
8 VALUE: script-table
9
10 "vocab:unicode/script/Scripts.txt" load-interval-file
11 to: script-table
12
13 PRIVATE>
14
15 : script-of ( char -- script )
16     script-table interval-at ;