Handbook
Glossary
load-interval-file ( filename -- table )
Parsing simple flat files
Prev:
load-codetable-file ( filename -- biassoc )
Next:
load-data-file ( filename -- data )
Vocabulary
simple-flat-file
Inputs
filename
a
string
Outputs
table
an
interval-map
Word 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.
Definition
IN:
simple-flat-file
:
load-interval-file
( filename -- table )
load-data-file
intern-values
expand-ranges
;