xml.tokenize vocabulary - Factor Documentation (original) (raw)

xml.tokenize vocabulary
Factor handbook » Vocabulary index

Summary
Basic tools for parsing XML

Metadata

Parents: xml
Authors: Daniel Ehrenberg

Words

Ordinary words

Word Stack effect
(next) ( spot -- spot char )
(parse-char) ( quot: ( ch -- ? ) accum spot -- )
(parse-quote) ( <-disallowed? ch -- string )
(skip-until) ( ... quot: ( ... char -- ... ? ) spot -- ... )
(take-string) ( match spot -- sbuf matched? )
assure-good-char ( spot ch -- )
assure-no-]]> ( pos char -- pos' )
close ( -- )
expect ( string -- )
init-parser ( -- )
next ( -- )
next* ( spot -- )
next-matching ( pos ch str -- pos' )
normalize-quote ( str -- str )
parse-char ( quot: ( ch -- ? ) -- seq )
parse-entity ( accum -- )
parse-named-entity ( accum string -- )
parse-pe ( accum -- )
parse-quote ( -- seq )
parse-quote* ( <-disallowed? -- seq )
parse-text ( -- string )
pass-blank ( -- )
record ( spot char -- spot )
skip-until ( ... quot: ( ... char -- ... ? ) -- ... )
string-matcher ( str -- quot: ( pos char -- pos ? ) )
take-; ( -- string )
take-string ( match -- string )
take-to ( seq -- string )
take-until ( ... quot: ( ... char -- ... ? ) -- ... string )
with-state ( stream quot -- )

Files

resource:basis/xml/tokenize/tokenize.factor

Metadata files

resource:basis/xml/tokenize/authors.txt
resource:basis/xml/tokenize/summary.txt